更新 build.yml

This commit is contained in:
allMagic
2024-06-15 16:32:15 +08:00
committed by GitHub
parent e70e904033
commit 695fdc9068
+2 -6
View File
@@ -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