Skip to content

Commit

Permalink
update unsupported action syntax (#5527)
Browse files Browse the repository at this point in the history
update unsupported syntax
  • Loading branch information
Shinji-IkariG authored and Sophie-Xie committed Apr 27, 2023
1 parent 8b208d6 commit 3dbb91d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/tagname-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
tag=$(echo ${{ github.ref }} | rev | cut -d/ -f1 | rev)
tagnum=$(echo $tag | sed "s/^v//")
majorver=$(echo $tag | cut -d "." -f 1)
echo "::set-output name=tag::$tag"
echo "::set-output name=tagnum::$tagnum"
echo "::set-output name=majorver::$majorver"
echo "tag=$tag" >> $GITHUB_OUTPUT
echo "tagnum=$tagnum" >> $GITHUB_OUTPUT
echo "majorver=$majorver" >> $GITHUB_OUTPUT
shell: bash

0 comments on commit 3dbb91d

Please sign in to comment.