From ac829a99fd94a359532be3bbd60457ed19bcd1cc Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Tue, 25 Apr 2023 19:32:17 +0800 Subject: [PATCH] update unsupported action syntax update unsupported syntax --- .github/actions/tagname-action/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/tagname-action/action.yml b/.github/actions/tagname-action/action.yml index 4118adf3741..489f9158054 100644 --- a/.github/actions/tagname-action/action.yml +++ b/.github/actions/tagname-action/action.yml @@ -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