Skip to content

Commit

Permalink
Use GITHUB_OUTPUT envvar instead of set-output command as the latter …
Browse files Browse the repository at this point in the history
…is deprecated
  • Loading branch information
arunsathiya committed Dec 28, 2023
1 parent 51e1798 commit 6e81bc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
release:
types: [ released ]
types: [released]

jobs:
publish:
Expand All @@ -11,7 +11,7 @@ jobs:
steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/}
run: echo "VERSION=${GITHUB_REF#refs/}" >> $GITHUB_OUTPUT

- uses: dsaltares/fetch-gh-release-asset@master
with:
Expand Down

0 comments on commit 6e81bc8

Please sign in to comment.