Skip to content

Commit

Permalink
Update GitVersion and react to changes (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell authored Aug 6, 2024
1 parent 16d3882 commit 40e5cae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
fetch-depth: 0 # Required for GitVersion

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v2
uses: gittools/actions/gitversion/setup@v3.0.0
with:
versionSpec: '5.x'
versionSpec: '6.x'

- name: Determine Version
uses: gittools/actions/gitversion/execute@v2
uses: gittools/actions/gitversion/execute@v3.0.0
id: gitversion
with:
useConfigFile: true
Expand All @@ -56,7 +56,7 @@ jobs:
dotnet build
--configuration Release
--no-restore
-p:VersionPrefix=${{ steps.gitversion.outputs.nuGetVersion }}
-p:VersionPrefix=${{ steps.gitversion.outputs.fullSemVer }}
- name: Test
run: >
Expand All @@ -71,7 +71,7 @@ jobs:
--configuration Release
--no-build
--output ${{ github.workspace }}/drop
-p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersion }}
-p:PackageVersion=${{ steps.gitversion.outputs.fullSemVer }}
- name: Publish Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 40e5cae

Please sign in to comment.