更新 build.yml
This commit is contained in:
1 parent
adbcb3399c
commit
786f172425
1 file changed
+2
-2
@@ -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`
|
||||
|
||||
Reference in new issue
Block a user