diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d95c787..3228249 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,7 +157,10 @@ jobs: run: | chmod +x bin/pulumi-resource-noderings mkdir -p .pulumi-state - ssh-keygen -q -t ed25519 -N "" -f "$HOME/.ssh/id_ed25519" + # A throwaway key in the job's temp dir: the org runner keeps $HOME + # between jobs, so never write to (or overwrite) its ~/.ssh. + ssh-keygen -q -t ed25519 -N "" -f "$RUNNER_TEMP/id_ed25519" + echo "NODERINGS_TEST_SSH_PUBLIC_KEY=$(cat "$RUNNER_TEMP/id_ed25519.pub")" >> "$GITHUB_ENV" cd sdk/nodejs/bin && yarn link - name: Run the examples if: env.NODERINGS_TOKEN != ''