diff --git a/.github/workflows/chipyard-run-tests-gpu.yml b/.github/workflows/chipyard-run-tests-gpu.yml index 266c0def..8eefcf1c 100644 --- a/.github/workflows/chipyard-run-tests-gpu.yml +++ b/.github/workflows/chipyard-run-tests-gpu.yml @@ -16,6 +16,7 @@ env: conda-env-name-no-time: cy-${{ github.run_id }} workflow-timestamp: ${{ github.event.pull_request.updated_at }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SSH_AUTH_SOCK: /tmp/ssh_agent_github.sock jobs: cancel-prior-workflows: @@ -127,7 +128,7 @@ jobs: # ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }} - name: Run ssh-agent run: | - eval `ssh-agent -s` + eval `ssh-agent -a $SSH_AUTH_SOCK -s` echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add - - name: Delete old checkout run: | @@ -279,7 +280,7 @@ jobs: # ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }} - name: Run ssh-agent run: | - eval `ssh-agent -s` + eval `ssh-agent -a $SSH_AUTH_SOCK -s` echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add - - name: Delete old checkout run: | @@ -309,7 +310,7 @@ jobs: # ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }} - name: Run ssh-agent run: | - eval `ssh-agent -s` + eval `ssh-agent -a $SSH_AUTH_SOCK -s` echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add - - name: Delete old checkout run: | @@ -339,7 +340,7 @@ jobs: # ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }} - name: Run ssh-agent run: | - eval `ssh-agent -s` + eval `ssh-agent -a $SSH_AUTH_SOCK -s` echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add - - name: Delete old checkout run: |