Skip to content

Commit

Permalink
ci(GHA): replaced set-output with GITHUB_OUTPUT (banzaicloud#4)
Browse files Browse the repository at this point in the history
Reason: deprecated, will be removed in 2023-05-31.

Details: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Command: grep -R -l "::set-output" . | xargs -n 1 sed -E -i '' 's/"?::set-output name=([^:]+)::([^"]+)"?$/"\1=\2" >> $GITHUB_OUTPUT/g'
  • Loading branch information
pregnor authored Dec 13, 2022
1 parent 1d1a1e6 commit fe4f549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if_false: latest
- name: Determine image tag
id: imagetag
run: echo "::set-output name=value::${TAG_OR_BRANCH##*/}"
run: echo "value=${TAG_OR_BRANCH##*/}" >> $GITHUB_OUTPUT
env:
TAG_OR_BRANCH: ${{ steps.refortag.outputs.value }}

Expand Down

0 comments on commit fe4f549

Please sign in to comment.