Skip to content

Commit 5c1a746

Browse files
dependabot[bot]danzuep
authored andcommitted
Bump gittools/actions from 3.2.1 to 4.1.0
Bumps [gittools/actions](https://github.com/gittools/actions) from 3.2.1 to 4.1.0. - [Release notes](https://github.com/gittools/actions/releases) - [Changelog](https://github.com/GitTools/actions/blob/main/GitReleaseManager.yml) - [Commits](GitTools/actions@v3.2.1...v4.1.0) --- updated-dependencies: - dependency-name: gittools/actions dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-major ...
1 parent aa07ac7 commit 5c1a746

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/_build-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
SOLUTION_FILE: 'source/${{ inputs.project-name }}.sln'
3131

3232
outputs:
33-
version: ${{ steps.gitversion.outputs.nuGetVersion }}
33+
version: ${{ steps.gitversion.outputs.semVer }}
3434

3535
steps:
3636
# https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
@@ -42,16 +42,16 @@ jobs:
4242
# https://github.com/GitTools/actions/blob/main/docs/examples/github/gitversion/setup.md#example-1
4343
- name: Set up GitVersion
4444
if: ${{ inputs.environment == 'release' }}
45-
uses: gittools/actions/gitversion/setup@v3.2.1
45+
uses: gittools/actions/gitversion/setup@v4
4646
with:
47-
versionSpec: '5.x'
47+
versionSpec: '6.3.x'
4848

4949
# https://github.com/GitTools/actions/blob/main/docs/examples/github/gitversion/execute.md#example-1
5050
# For a list of all GitVersion Version Variables, see https://gitversion.net/docs/reference/variables
5151
- name: Use GitVersion to determine version
5252
if: ${{ inputs.environment == 'release' }}
5353
id: gitversion # step id used as reference for output values
54-
uses: gittools/actions/gitversion/execute@v3.2.1
54+
uses: gittools/actions/gitversion/execute@v4
5555

5656
# pwsh> dotnet-gitversion | ConvertFrom-Json
5757
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary
@@ -137,13 +137,13 @@ jobs:
137137
# Use either GeneratePackageOnBuild or dotnet pack, not both. See https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-pack
138138
- name: Create NuGet package
139139
if: ${{ inputs.environment == 'release' }}
140-
run: dotnet pack $SOLUTION_FILE -c $CONFIGURATION -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersion }} --output './artifacts/' --no-build
140+
run: dotnet pack $SOLUTION_FILE -c $CONFIGURATION -p:PackageVersion=${{ steps.gitversion.outputs.semVer }} --output './artifacts/' --no-build
141141

142142
- name: Markdown workflow job summary
143143
if: ${{ inputs.environment == 'release' }}
144144
run: echo '### Packed ${{ env.Package_Names }}' >> $GITHUB_STEP_SUMMARY
145145
env:
146-
Package_Names: '${{ inputs.project-name }}.*.${{ steps.gitversion.outputs.nuGetVersion }}.nupkg'
146+
Package_Names: '${{ inputs.project-name }}.*.${{ steps.gitversion.outputs.semVer }}.nupkg'
147147

148148
# https://github.com/actions/upload-artifact
149149
- name: Upload artifacts for deployment job

0 commit comments

Comments
 (0)