Browse Source

Fixed release builds 10

Tig 3 tháng trước cách đây
mục cha
commit
4cff53f49c
2 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 1 1
      .github/workflows/build-release.yml
  2. 4 3
      .github/workflows/publish.yml

+ 1 - 1
.github/workflows/build-release.yml

@@ -15,7 +15,7 @@ jobs:
     # Ensure that RELEASE builds are not broken
     runs-on: ubuntu-latest
     steps:
-    - name: Checkout code
+    - name: Checkout ${{ github.ref_name }}
       uses: actions/checkout@v4
 
     - name: Setup .NET Core

+ 4 - 3
.github/workflows/publish.yml

@@ -14,9 +14,10 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v4
-      # with:
-      #   fetch-depth: 0 # fetch-depth is needed for GitVersion
+    - name: Checkout ${{ github.ref_name }}
+      uses: actions/checkout@v4
+      with:
+        fetch-depth: 0 # fetch-depth is needed for GitVersion https://github.com/GitTools/actions/blob/main/docs/cloning.md
 
     - name: Install GitVersion
       uses: gittools/actions/gitversion/[email protected]