mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
ci: Install dotnet before installing GitVersion
GitVersion relies on dotnet, this permits running on act locally.
This commit is contained in:
6
.github/workflows/dotnet.yml
vendored
6
.github/workflows/dotnet.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user