From 2cdeaea04820a5725f6ebaca60d654cbf81515c0 Mon Sep 17 00:00:00 2001 From: Michael Croes Date: Mon, 2 Jun 2025 21:46:27 +0200 Subject: [PATCH] ci: Install dotnet before installing GitVersion GitVersion relies on dotnet, this permits running on act locally. --- .github/workflows/dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 62b1256..8504be8 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -31,6 +31,9 @@ jobs: with: fetch-depth: 0 # Get all history to allow automatic versioning + - name: Setup .NET + uses: actions/setup-dotnet@v3 + - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0 with: @@ -42,9 +45,6 @@ jobs: id: gitversion uses: gittools/actions/gitversion/execute@v0 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - - run: > dotnet pack --configuration Release