File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 88 - name : Extract tag/branch variables
99 shell : bash
1010 run : >
11- echo "##[set-output name= tag;] $(echo ${GITHUB_REF#refs/tags/}|grep -v '/')";
12- echo "##[set-output name= branch;] $(echo ${GITHUB_REF#refs/heads/}|grep -v '/')";
11+ echo "tag= $(echo ${GITHUB_REF#refs/tags/}|grep -v '/')" >> $GITHUB_OUTPUT
12+ echo "branch= $(echo ${GITHUB_REF#refs/heads/}|grep -v '/')" >> $GITHUB_OUTPUT
1313 id : extract
1414 - name : Write secret keys
1515 run : >
1919 then
2020 eval "$(ssh-agent)";
2121 ssh-add firehol_org_publish_key;
22- echo "##[set-output name= has_ssh_key;] true";
23- echo "##[set-output name= ssh_agent_pid;] $SSH_AGENT_PID";
24- echo "##[set-output name= ssh_auth_sock;] $SSH_AUTH_SOCK";
22+ echo "has_ssh_key= true" >> $GITHUB_OUTPUT
23+ echo "ssh_agent_pid= $SSH_AGENT_PID" >> $GITHUB_OUTPUT
24+ echo "ssh_auth_sock= $SSH_AUTH_SOCK" >> $GITHUB_OUTPUT
2525 fi;
2626 rm -f firehol_org_publish_key
2727 env :
4040 echo "Not publishing '${{steps.extract.outputs.branch}}'";
4141 echo "##[set-output name=skip;]true"
4242 id : check
43- - uses : actions/checkout@v2
43+ - uses : actions/checkout@v4
4444 - run : ./.github/workflows/setup.sh
4545 - run : make
4646 - name : Deploy website ${{steps.extract.outputs.branch}}
You can’t perform that action at this time.
0 commit comments