ci: Install dotnet before installing GitVersion

GitVersion relies on dotnet, this permits running on act locally.
This commit is contained in:
Michael Croes
2025-06-02 21:46:27 +02:00
parent 03c7c7e86a
commit 2cdeaea048

View File

@@ -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