Skip to content

Commit

Permalink
Fix github environment variable set
Browse files Browse the repository at this point in the history
  • Loading branch information
ArwynFr committed Jan 30, 2021
1 parent a22111e commit 98fc928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ runs:
run: |
if [ -z "$SSH_AGENT_PID" ]; then
eval $(ssh-agent)
echo "::set-env name=SSH_AUTH_SOCK::$SSH_AUTH_SOCK"
echo "::set-env name=SSH_AGENT_PID::$SSH_AGENT_PID"
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV
echo "SSH_AGENT_PID=SSH_AGENT_PID" >> $GITHUB_ENV
fi
- shell: bash
Expand Down

1 comment on commit 98fc928

@lmakarov
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a release as the old way (using ::set-env) is now not working at all.

This would work in the mean time:

uses: arwynfr/actions-docker-context@98fc92878d0b856c1112c79b8d0f45353206e186 

BTW Thanks for the action =)

Please sign in to comment.