Update GitVersion actions and modify paths

This commit is contained in:
2026-01-15 21:27:46 +01:00
committed by GitHub
Unverified
parent 7311adfb21
commit 8fca4faf8a

View File

@@ -4,8 +4,8 @@ on:
push:
branches:
- "main"
paths:
- "TimetableDesigner.Backend.Events**"
#paths:
#- "TimetableDesigner.Backend.Events**"
jobs:
build:
@@ -21,14 +21,13 @@ jobs:
- name: Build
run: dotnet build
- name: Setup GitVersion
uses: gittools/actions/gitversion/setup@v0.9.7
uses: gittools/actions/gitversion/setup@v4.2.0
with:
versionSpec: 5.x
versionSpec: 6.4.x
- name: Determine version
uses: gittools/actions/gitversion/execute@v0.9.7
uses: gittools/actions/gitversion/execute@v4.2.0
id: gitversion
with:
useConfigFile: true
configFilePath: ./.github/config/gitversion.yml
- name: Create NuGet package
run: dotnet pack -c Release -p:Version=${{steps.gitversion.outputs.SemVer}} -p:PackageVersion=${{steps.gitversion.outputs.SemVer}} --output ${{ github.workspace}}/nuget