|
@@ -16,22 +16,27 @@ jobs:
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
with:
|
|
- fetch-depth: 0 #fetch-depth is needed for GitVersion
|
|
|
|
|
|
+ fetch-depth: 0 # fetch-depth is needed for GitVersion
|
|
|
|
|
|
- - name: Install and calculate the new version with GitVersion
|
|
|
|
|
|
+ - name: Install GitVersion
|
|
uses: gittools/actions/gitversion/setup@v0
|
|
uses: gittools/actions/gitversion/setup@v0
|
|
with:
|
|
with:
|
|
- versionSpec: 5.x
|
|
|
|
|
|
+ versionSpec: '5.x'
|
|
|
|
+ includePrerelease: true
|
|
|
|
|
|
- name: Determine Version
|
|
- name: Determine Version
|
|
uses: gittools/actions/gitversion/execute@v0
|
|
uses: gittools/actions/gitversion/execute@v0
|
|
|
|
+ with:
|
|
|
|
+ useConfigFile: true
|
|
|
|
+ #additionalArguments: /b develop
|
|
id: gitversion # step id used as reference for output values
|
|
id: gitversion # step id used as reference for output values
|
|
|
|
|
|
- name: Setup dotnet
|
|
- name: Setup dotnet
|
|
uses: actions/setup-dotnet@v3
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
with:
|
|
dotnet-version: 7.0
|
|
dotnet-version: 7.0
|
|
-
|
|
|
|
|
|
+ dotnet-quality: 'ga'
|
|
|
|
+
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: dotnet restore
|
|
run: dotnet restore
|
|
|
|
|