From dc030da2b5043806784f8360f67e59cb93e81bf8 Mon Sep 17 00:00:00 2001 From: Toni Wenzel Date: Mon, 24 Jan 2022 20:26:56 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8683028..a408476 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,11 +10,16 @@ jobs: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - name: Checkout the repository + uses: actions/checkout@v2 - - name: Setup .NET Core + - name: Fetch all tags and branches + run: git fetch --prune --unshallow + + - name: Install .NET SDK uses: actions/setup-dotnet@v1 with: + # gitversion needs 5.0 and we need all SDKs the project is targeting dotnet-version: | 3.1.x 5.0.x