Browse Source

更新 build.yml

allMagic 2 years ago
parent
commit
b2e9a4486e
1 changed files with 0 additions and 8 deletions
  1. 0 8
      .github/workflows/build.yml

+ 0 - 8
.github/workflows/build.yml

@@ -33,14 +33,6 @@ jobs:
       run: |
       run: |
           Describe=`git describe --tags --always`
           Describe=`git describe --tags --always`
           echo "Describe=$Describe" >> $GITHUB_ENV
           echo "Describe=$Describe" >> $GITHUB_ENV
-          exit 0
-
-    - name: Set Hash as Describe when Describe is Blank
-      if: ${{ ! env.Describe }}
-      shell: bash
-      run: |
-          Hash=`git rev-parse --short HEAD`
-          echo "Describe=$Hash" >> $GITHUB_ENV
 
 
     - name: Setup MSBuild.exe
     - name: Setup MSBuild.exe
       uses: microsoft/setup-msbuild@v2
       uses: microsoft/setup-msbuild@v2