瀏覽代碼

Add Set Hash

allMagic 2 年之前
父節點
當前提交
d34a28a503
共有 1 個文件被更改,包括 6 次插入 和 0 次删除
  1. 6 0
      .github/workflows/build.yml

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

@@ -26,6 +26,12 @@ 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: |