File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments