From d34a28a50314ad2a02dc55e246d25edeb4b1a99c Mon Sep 17 00:00:00 2001 From: allMagic <116283787+allMagicNB@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:11:52 +0800 Subject: [PATCH] Add Set Hash --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0b81da..e729251 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,12 @@ 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: |