Skip to content

Commit

Permalink
ci(GHA): replaced set-output with GITHUB_OUTPUT
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 committed Dec 6, 2022
1 parent c90c27f commit 190b1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Set ref
id: set-ref
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT

- name: Trigger pke-image build
uses: actions/github-script@v6
Expand Down

0 comments on commit 190b1da

Please sign in to comment.