From 8fca4faf8a139b1b96c03e17feec55381416f352 Mon Sep 17 00:00:00 2001 From: Mateusz Skoczek Date: Thu, 15 Jan 2026 21:27:46 +0100 Subject: [PATCH] Update GitVersion actions and modify paths --- .github/workflows/push_main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push_main.yml b/.github/workflows/push_main.yml index 4e51a69..6f6516f 100644 --- a/.github/workflows/push_main.yml +++ b/.github/workflows/push_main.yml @@ -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