From 786f172425157cf614ba66a651df819e61acdfb5 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:59:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20build.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .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 1719d6f..8e07221 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,8 +34,8 @@ jobs: Describe=`git describe --tags` echo "Describe=$Describe" >> $GITHUB_ENV - - name: Set Hash when Describe is Blank - if: ${{ env.Describe}}=`` + - name: Set Hash as Describe when Describe is Blank + if: ${{ env.Describe }} shell: bash run: | Hash=`git rev-parse --short HEAD`