We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4847685 commit abed5f1Copy full SHA for abed5f1
1 file changed
.github/workflows/release-validated.yml
@@ -167,9 +167,14 @@ jobs:
167
echo "::error::Pre-release tests failed. Cannot proceed with release."
168
exit 1
169
170
- - uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
171
- with:
172
- ssh-private-key: ${{ secrets.SSH_PUSH_SECRET }}
+ - name: Setup SSH agent
+ run: |
+ eval $(ssh-agent -s)
173
+ echo "${{ secrets.SSH_PUSH_SECRET }}" | ssh-add -
174
+ mkdir -p ~/.ssh
175
+ ssh-keyscan github.com >> ~/.ssh/known_hosts
176
+ echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV
177
+ echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> $GITHUB_ENV
178
179
- name: Checkout repository
180
run: git clone git@github.com:$GITHUB_REPOSITORY.git java-profiler
0 commit comments