@@ -38,12 +38,12 @@ jobs:
3838 with :
3939 fetch-depth : 0
4040
41- - uses : actions/setup-dotnet@v3
41+ - uses : actions/setup-dotnet@v4
4242 with :
4343 dotnet-version : " 8.0.x"
4444
4545 - name : Enable NuGet cache
46- uses : actions/cache@v4.0.2
46+ uses : actions/cache@v4.2.3
4747 with :
4848 path : ~/.nuget/packages
4949 key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
8282 uses : actions/checkout@v4
8383 with :
8484 fetch-depth : 0
85- - uses : actions/setup-dotnet@v3
85+ - uses : actions/setup-dotnet@v4
8686 with :
8787 dotnet-version : " 8.0.x"
8888
9595 tools : licensefinder
9696
9797 - name : Enable NuGet cache
98- uses : actions/cache@v4.0.2
98+ uses : actions/cache@v4.2.3
9999 with :
100100 path : ~/.nuget/packages
101101 key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -133,7 +133,7 @@ jobs:
133133 dotnet-version : " 8.0.x"
134134
135135 - name : Enable NuGet cache
136- uses : actions/cache@v4.0.2
136+ uses : actions/cache@v4.2.3
137137 with :
138138 path : ~/.nuget/packages
139139 key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -188,7 +188,7 @@ jobs:
188188 docker volume rm tests_minio_config
189189 working-directory : ./src/Plugins/MinIO/Tests
190190
191- - uses : codecov/codecov-action@v4.4.1
191+ - uses : codecov/codecov-action@v3.1.4
192192 with :
193193 token : ${{ secrets.CODECOV_TOKEN }}
194194 directory : " src/"
@@ -221,12 +221,12 @@ jobs:
221221 with :
222222 fetch-depth : 0
223223
224- - uses : actions/setup-dotnet@v3
224+ - uses : actions/setup-dotnet@v4
225225 with :
226226 dotnet-version : " 8.0.x"
227227
228228 - name : Enable NuGet cache
229- uses : actions/cache@v4.0.2
229+ uses : actions/cache@v4.2.3
230230 with :
231231 path : ~/.nuget/packages
232232 key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -237,12 +237,14 @@ jobs:
237237 run : dotnet restore
238238 working-directory : ./src
239239
240- - name : Install GitVersion
241- run : dotnet tool install --global GitVersion.Tool
240+ - name : Setup GitVersion
241+ uses : gittools/actions/gitversion/setup@v3.1.1
242+ with :
243+ versionSpec : ' 6.0.5'
242244
243245 - name : Determine Version
244246 id : gitversion
245- uses : gittools/actions/gitversion/execute@v0.10.2
247+ uses : gittools/actions/gitversion/execute@v3.1.11
246248 with :
247249 useConfigFile : true
248250 updateAssemblyInfo : true
@@ -265,7 +267,7 @@ jobs:
265267 if : ${{ matrix.os == 'ubuntu-latest' }}
266268 run : |
267269 mkdir $PACKAGEDIR
268- dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }}
270+ dotnet pack --no-build -c ${{ env.BUILD_CONFIG }} -o $PACKAGEDIR -p:PackageVersion=${{ steps.gitversion.outputs.majorMinorPatch }}-${{ steps.gitversion.outputs.EscapedBranchName }}.${{ steps.gitversion.outputs.CommitsSinceVersionSource }}
269271 ls -lR $PACKAGEDIR
270272 working-directory : ./src
271273
@@ -307,7 +309,7 @@ jobs:
307309 - name : Install grp
308310 run : dotnet tool install gpr -g
309311
310- - uses : actions/setup-dotnet@v3
312+ - uses : actions/setup-dotnet@v4
311313 env :
312314 NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
313315 with :
@@ -332,7 +334,7 @@ jobs:
332334 - name : Install grp
333335 run : dotnet tool install gpr -g
334336
335- - uses : actions/setup-dotnet@v3
337+ - uses : actions/setup-dotnet@v4
336338 env :
337339 NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
338340 with :
@@ -348,7 +350,7 @@ jobs:
348350 runs-on : ubuntu-latest
349351 needs : [build, unit-test]
350352 env :
351- MAJORMINORPATCH : ${{ needs.build.outputs.majorMinorPatch }}
353+ MAJORMINORPATCH : ${{ needs.build.outputs.MajorMinorPatch }}
352354
353355 steps :
354356 - uses : actions/checkout@v4
@@ -372,12 +374,12 @@ jobs:
372374 msg : ${{ github.repository }}
373375
374376 - name : Install GitReleaseManager
375- uses : gittools/actions/gitreleasemanager/setup@v0.10.2
377+ uses : gittools/actions/gitreleasemanager/setup@v3.1.11
376378 with :
377- versionSpec : " 0.13.x "
379+ versionSpec : ' 0.18.x '
378380
379381 - name : Create release with GitReleaseManager
380- uses : gittools/actions/gitreleasemanager/create@v0.10.2
382+ uses : gittools/actions/gitreleasemanager/create@v3.1.11
381383 with :
382384 token : ${{ secrets.GITHUB_TOKEN }}
383385 owner : ${{ steps.repo.outputs._0 }}
@@ -390,16 +392,17 @@ jobs:
390392
391393 - name : Publish release with GitReleaseManager
392394 if : ${{ contains(github.ref, 'refs/heads/main') }}
393- uses : gittools/actions/gitreleasemanager/publish@v0.10.2
395+ uses : gittools/actions/gitreleasemanager/publish@v3.1.11
394396 with :
395397 token : ${{ secrets.GITHUB_TOKEN }}
396398 owner : ${{ steps.repo.outputs._0 }}
397399 repository : ${{ steps.repo.outputs._1 }}
398400 tagName : ${{ env.MAJORMINORPATCH }}
401+ milestone : ${{ env.MAJORMINORPATCH }}
399402
400403 - name : Close release with GitReleaseManager
401404 if : ${{ contains(github.ref, 'refs/heads/main') }}
402- uses : gittools/actions/gitreleasemanager/close@v0.10.2
405+ uses : gittools/actions/gitreleasemanager/close@v3.1.11
403406 with :
404407 token : ${{ secrets.GITHUB_TOKEN }}
405408 owner : ${{ steps.repo.outputs._0 }}
0 commit comments