Skip to content

Commit

Permalink
Update set-output calls in GHA (#5)
Browse files Browse the repository at this point in the history
`set-output` is set to be deprecated in 2023.
This change migrates calls of set-output to use
the GITHUB_OUTPUT env file instead as per GH's
recommendation.
  • Loading branch information
kevintylerstark authored Dec 19, 2022
1 parent 02e3376 commit 5783982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
run: |
version_file=$(find ./lib -name version.rb)
version=$(grep VERSION $version_file |cut -f 2 -d= |tr -d \'|tr -d [:space:])
echo ::set-output name=version::$version
echo ::set-output name=version_tag::v$version
echo version=$version >> $GITHUB_OUTPUT
echo version_tag=v$version >> $GITHUB_OUTPUT
- name: Tag commit
uses: tvdias/[email protected]
Expand Down

0 comments on commit 5783982

Please sign in to comment.