From f747f5fd6b4d755751491fa816dbb91d5ff71336 Mon Sep 17 00:00:00 2001 From: Arun Date: Thu, 11 Jan 2024 20:29:50 -0800 Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7c5c037..0d2583f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,7 +121,7 @@ jobs: # credit: mcraiha via [https://github.community/t/how-to-get-just-the-tag-name/16241/17] id: get_tag shell: bash - run: echo ::set-output name=THIS_TAG::${GITHUB_REF/refs\/tags\//} + run: echo "THIS_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - name: Debug tag parsing run: echo '${{ steps.get_tag.outputs.THIS_TAG }}'