Skip to content

Commit bd032fd

Browse files
committed
Replace deprecated set-output
For more info see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
1 parent 5ac0317 commit bd032fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_TO_SELF }}
4747
- name: Get version
4848
id: get_version
49-
run: echo ::set-output name=VERSION::$(echo "{ \"Version\":\"$GITHUB_REF_NAME\"}")
49+
run: echo "VERSION=$(echo \"{ \"Version\":\"$GITHUB_REF_NAME\"}\")" >> $GITHUB_OUTPUT
5050
shell: bash
5151
- name: Echo
5252
run: echo ${{ steps.get_version.outputs.VERSION }}

0 commit comments

Comments
 (0)