Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit 98fc928

Browse files
committed
Fix github environment variable set
1 parent a22111e commit 98fc928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ runs:
4040
run: |
4141
if [ -z "$SSH_AGENT_PID" ]; then
4242
eval $(ssh-agent)
43-
echo "::set-env name=SSH_AUTH_SOCK::$SSH_AUTH_SOCK"
44-
echo "::set-env name=SSH_AGENT_PID::$SSH_AGENT_PID"
43+
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV
44+
echo "SSH_AGENT_PID=SSH_AGENT_PID" >> $GITHUB_ENV
4545
fi
4646
4747
- shell: bash

0 commit comments

Comments
 (0)