瀏覽代碼

fetch-depth: 0

Tigger Kindel 2 年之前
父節點
當前提交
01a60f7c22
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .github/workflows/dotnet-core.yml

+ 3 - 1
.github/workflows/dotnet-core.yml

@@ -16,7 +16,9 @@ jobs:
 
     steps:
     - uses: actions/checkout@v3
-
+      with:
+        fetch-depth: 0 #fetch-depth is needed for GitVersion
+        
     - name: Install and calculate the new version with GitVersion 
       uses: gittools/actions/gitversion/setup@v0
       with: