Skip to content

Commit 5f24875

Browse files
Sherry520networm
authored andcommitted
GitHub Actions: Deprecating set-output commands
1 parent 24212b2 commit 5f24875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-on-merge.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
echo Computing next tag number
1818
LASTPATCH=$(git describe --tags | cut -d- -f1 | cut -d. -f3)
1919
PATCH=$(($LASTPATCH+1))
20-
echo "::set-output name=tagname::2.1.${PATCH}"
21-
echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
20+
echo "tagname=2.1.${PATCH}" >> $GITHUB_OUTPUT
21+
echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
2222
2323
- name: Set up Ruby
2424
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)