Skip to content

Commit

Permalink
.github: replace deprecated set-output commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tklauser committed Nov 9, 2023
1 parent 1ccdaa3 commit 52f5f4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/image-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
id: tag
run: |
if [ ${{ github.event.pull_request.head.sha }} != "" ]; then
echo ::set-output name=tag::${{ github.event.pull_request.head.sha }}
echo tag=${{ github.event.pull_request.head.sha }} >> $GITHUB_OUTPUT
else
echo ::set-output name=tag::${{ github.sha }}
echo tag=${{ github.sha }} >> $GITHUB_OUTPUT
fi
- name: Checkout Source Code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Getting image tag
id: tag
run: |
echo ::set-output name=tag::${GITHUB_REF##*/}
echo tag=${GITHUB_REF##*/} >> $GITHUB_OUTPUT
- name: Checkout Source Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down

0 comments on commit 52f5f4e

Please sign in to comment.