Skip to content

Commit

Permalink
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#992)
Browse files Browse the repository at this point in the history
* ci: Use GITHUB_OUTPUT envvar instead of set-output command

* Quote envvar to match documentation
  • Loading branch information
arunsathiya authored Jan 26, 2024
1 parent 71b3070 commit 42e0010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
token: ${{ secrets.GH_ACCESS_TOKEN_TOM }}

- id: get-version
run: echo "::set-output name=version::$(echo ${{ github.head_ref }} | sed 's|release/||')"
run: echo "version=$(echo ${{ github.head_ref }} | sed 's|release/||')" >> "$GITHUB_OUTPUT"

- name: Use Node 16
uses: actions/setup-node@v3
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
token: ${{ secrets.GH_ACCESS_TOKEN_TOM }}

- id: get-version
run: echo "::set-output name=version::$(echo ${{ github.head_ref }} | sed 's|prerelease/||')"
run: echo "version=$(echo ${{ github.head_ref }} | sed 's|prerelease/||')" >> "$GITHUB_OUTPUT"

- name: Use Node 16
uses: actions/setup-node@v3
Expand Down

0 comments on commit 42e0010

Please sign in to comment.