Skip to content

Commit

Permalink
Replace deprecated set-output CI commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Dec 19, 2022
1 parent ad3b0bb commit 16fa78e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
id: get_tag
run: |
if [ ${{ startsWith(github.ref, 'refs/tags/') }} = true ]; then
echo ::set-output name=tag::latest,${GITHUB_REF:10}
echo "tag=latest,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
else
echo ::set-output name=tag::latest
echo "tag=latest" >>$GITHUB_OUTPUT
fi
- name: Publish to Registry
Expand Down

0 comments on commit 16fa78e

Please sign in to comment.