From 9d8681238574597c6dffce65af712b31bf859d95 Mon Sep 17 00:00:00 2001 From: Rob Sommeregger Date: Wed, 22 May 2024 17:42:06 +0200 Subject: [PATCH] unshallow fetch of repos --- .github/workflows/dotnet.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 00312b7..d6532c1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,12 @@ jobs: dotnet-version: ["6.0.x", "7.0.x", "8.0.x"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Perform a full clone to get the entire history + + - name: Fetch all history for all tags and branches + run: git fetch --unshallow - name: Setup .NET ${{ matrix.dotnet-version }} uses: actions/setup-dotnet@v4