Explorar o código

更新 build.yml

allMagic %!s(int64=2) %!d(string=hai) anos
pai
achega
695fdc9068
Modificáronse 1 ficheiros con 2 adicións e 6 borrados
  1. 2 6
      .github/workflows/build.yml

+ 2 - 6
.github/workflows/build.yml

@@ -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