Skip to content

Commit 03629cb

Browse files
authored
Merge pull request #75 from DeveloperMetrics/dependabot/github_actions/gittools/actions-4.0.1
Bump gittools/actions from 3.2.1 to 4.0.1
2 parents 3faed66 + cdb71e3 commit 03629cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
outputs: # https://stackoverflow.com/questions/59175332/using-output-from-a-previous-job-in-a-new-one-in-a-github-action
14-
Version: ${{ steps.gitversion.outputs.SemVer }}
14+
Version: ${{ steps.gitversion.outputs.MajorMinorPatch }}
1515
CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0 #fetch-depth is needed for GitVersion
2020
#Install and calculate the new version with GitVersion
2121
- name: Install GitVersion
22-
uses: gittools/actions/gitversion/setup@v3.2.1
22+
uses: gittools/actions/gitversion/setup@v4.0.1
2323
with:
24-
versionSpec: 5.x
24+
versionSpec: 6.x
2525
- name: Determine Version
26-
uses: gittools/actions/gitversion/execute@v3.2.1
26+
uses: gittools/actions/gitversion/execute@v4.0.1
2727
id: gitversion # step id used as reference for output values
2828
- name: Display GitVersion outputs
2929
run: |
30-
echo "Version: ${{ steps.gitversion.outputs.SemVer }}"
30+
echo "Version: ${{ steps.gitversion.outputs.MajorMinorPatch }}"
3131
echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}"
3232
3333
# checkout the code from this branch, and then test the action from here

0 commit comments

Comments
 (0)