From fa95e2cc341ada8e13d1f05a78ddf9bead04b020 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Sat, 16 Jul 2022 22:49:22 +0900 Subject: [PATCH] Fix tag --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de14d1b..b92d24a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,11 +21,11 @@ jobs: # https://github.community/t/how-to-get-just-the-tag-name/16241/4 run: echo ::set-output name=name::${GITHUB_REF/refs\/*s\//} - name: Generate the tag name for a branch build - if: startsWith(steps.release_name.outputs.name, 'ci-') + if: ${{ startsWith(steps.release_name.outputs.name, 'ci-') }} run: | echo "RELEASE_TAG_NAME=${GITHUB_REF/refs\/*s\//}-tag" >> $GITHUB_ENV - name: Generate the tag name for a branch build - if: ! startsWith(steps.release_name.outputs.name, 'ci-') + if: ${{ !startsWith(steps.release_name.outputs.name, 'ci-') }} run: | echo "RELEASE_TAG_NAME=${GITHUB_REF/refs\/*s\//}" >> $GITHUB_ENV - name: Generate changes file