更新 build.yml

This commit is contained in:
allMagic
2024-06-15 16:59:26 +08:00
committed by GitHub
parent adbcb3399c
commit 786f172425
+2 -2
View File
@@ -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`