From 695fdc9068f32c6dd70d1569a7450f2ddec0d105 Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:32:15 +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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf9e754..ed04985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,15 +27,11 @@ jobs: with: fetch-depth: 0 - - name: Set Hash - shell: bash - run: | - Hash=`git rev-parse --short HEAD` - echo "Describe=$Describe" >> $GITHUB_ENV - - name: Set Describe shell: bash run: | + Hash=`git rev-parse --short HEAD` + echo echo "Describe=$Hash" >> $GITHUB_ENV Describe=`git describe --tags` echo "Describe=$Describe" >> $GITHUB_ENV