Skip to content

Commit

Permalink
GitHub Actions: Deprecating set-output commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherry520 authored and networm committed Aug 19, 2024
1 parent 24212b2 commit 5f24875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
echo Computing next tag number
LASTPATCH=$(git describe --tags | cut -d- -f1 | cut -d. -f3)
PATCH=$(($LASTPATCH+1))
echo "::set-output name=tagname::2.1.${PATCH}"
echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
echo "tagname=2.1.${PATCH}" >> $GITHUB_OUTPUT
echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit 5f24875

Please sign in to comment.