Explorar o código

更新 build.yml

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

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

@@ -33,14 +33,6 @@ jobs:
       run: |
           Describe=`git describe --tags --always`
           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
       uses: microsoft/setup-msbuild@v2