From 4cff53f49c37fecfb46b0b6f187ab811029391f6 Mon Sep 17 00:00:00 2001 From: Tig Date: Sat, 31 May 2025 19:53:48 -0600 Subject: [PATCH] Fixed release builds 10 --- .github/workflows/build-release.yml | 2 +- .github/workflows/publish.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b3e3f7d92..df85ddb8c 100644 --- a/.github/workflows/build-release.yml +++ b/.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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 78f745d58..8e074ba28 100644 --- a/.github/workflows/publish.yml +++ b/.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/setup@v3.1.11