Explorar el Código

更新 build.yml

allMagic hace 2 años
padre
commit
786f172425
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      .github/workflows/build.yml

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

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