From 7074a94259be8af88f349426538e2a345f933785 Mon Sep 17 00:00:00 2001 From: Richard Russell <2265225+rars@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:28:57 +0100 Subject: [PATCH] ci: use fetch depth 0 to fix gitversion in github actions --- .github/workflows/dotnet.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yaml b/.github/workflows/dotnet.yaml index 58abf83..7d7b699 100644 --- a/.github/workflows/dotnet.yaml +++ b/.github/workflows/dotnet.yaml @@ -11,7 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup .NET uses: actions/setup-dotnet@v4 with: