Skip to content

Commit

Permalink
Fix deprecated usage of GitHub action 'set-output'
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Apr 30, 2024
1 parent f409f0f commit eaad0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- id: identify
run: echo "##[set-output name=branch;]$(echo ${GITHUB_HEAD_REF#refs/heads/})"
run: echo "{branch}={$(echo ${GITHUB_HEAD_REF#refs/heads/})}" >> $GITHUB_OUTPUT

outputs:
branch: ${{ steps.identify.outputs.branch }}
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- id: identify
run: |
echo "##[set-output name=remote;]$(if [ ${GITHUB_REPOSITORY} == 'SSoelvsten/adiar' ]; then echo 'origin'; else echo '${GITHUB_REPOSITORY}'; fi)"
echo "{remote}={$(if [ ${GITHUB_REPOSITORY} == 'SSoelvsten/adiar' ]; then echo 'origin'; else echo '${GITHUB_REPOSITORY}'; fi)}" >> $GITHUB_OUTPUT
outputs:
remote: ${{ steps.identify.outputs.remote }}
Expand Down

0 comments on commit eaad0dd

Please sign in to comment.