更新 build.yml
This commit is contained in:
@@ -27,15 +27,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set Hash
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
Hash=`git rev-parse --short HEAD`
|
|
||||||
echo "Describe=$Describe" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Set Describe
|
- name: Set Describe
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Hash=`git rev-parse --short HEAD`
|
||||||
|
echo echo "Describe=$Hash" >> $GITHUB_ENV
|
||||||
Describe=`git describe --tags`
|
Describe=`git describe --tags`
|
||||||
echo "Describe=$Describe" >> $GITHUB_ENV
|
echo "Describe=$Describe" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user