@@ -38,12 +38,12 @@ jobs:
38
38
with :
39
39
fetch-depth : 0
40
40
41
- - uses : actions/setup-dotnet@v3
41
+ - uses : actions/setup-dotnet@v4
42
42
with :
43
43
dotnet-version : " 8.0.x"
44
44
45
45
- name : Enable NuGet cache
46
- uses : actions/cache@v4.0.2
46
+ uses : actions/cache@v4.2.3
47
47
with :
48
48
path : ~/.nuget/packages
49
49
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
82
82
uses : actions/checkout@v4
83
83
with :
84
84
fetch-depth : 0
85
- - uses : actions/setup-dotnet@v3
85
+ - uses : actions/setup-dotnet@v4
86
86
with :
87
87
dotnet-version : " 8.0.x"
88
88
95
95
tools : licensefinder
96
96
97
97
- name : Enable NuGet cache
98
- uses : actions/cache@v4.0.2
98
+ uses : actions/cache@v4.2.3
99
99
with :
100
100
path : ~/.nuget/packages
101
101
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -133,7 +133,7 @@ jobs:
133
133
dotnet-version : " 8.0.x"
134
134
135
135
- name : Enable NuGet cache
136
- uses : actions/cache@v4.0.2
136
+ uses : actions/cache@v4.2.3
137
137
with :
138
138
path : ~/.nuget/packages
139
139
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -188,7 +188,7 @@ jobs:
188
188
docker volume rm tests_minio_config
189
189
working-directory : ./src/Plugins/MinIO/Tests
190
190
191
- - uses : codecov/codecov-action@v4.4.1
191
+ - uses : codecov/codecov-action@v3.1.4
192
192
with :
193
193
token : ${{ secrets.CODECOV_TOKEN }}
194
194
directory : " src/"
@@ -221,12 +221,12 @@ jobs:
221
221
with :
222
222
fetch-depth : 0
223
223
224
- - uses : actions/setup-dotnet@v3
224
+ - uses : actions/setup-dotnet@v4
225
225
with :
226
226
dotnet-version : " 8.0.x"
227
227
228
228
- name : Enable NuGet cache
229
- uses : actions/cache@v4.0.2
229
+ uses : actions/cache@v4.2.3
230
230
with :
231
231
path : ~/.nuget/packages
232
232
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -237,12 +237,14 @@ jobs:
237
237
run : dotnet restore
238
238
working-directory : ./src
239
239
240
- - name : Install GitVersion
241
- run : dotnet tool install --global GitVersion.Tool
240
+ - name : Setup GitVersion
241
+ uses :
gittools/actions/gitversion/[email protected]
242
+ with :
243
+ versionSpec : ' 6.0.5'
242
244
243
245
- name : Determine Version
244
246
id : gitversion
245
- uses : gittools/actions/gitversion/execute@v0.10.2
247
+ uses : gittools/actions/gitversion/execute@v3.1.11
246
248
with :
247
249
useConfigFile : true
248
250
updateAssemblyInfo : true
@@ -265,7 +267,7 @@ jobs:
265
267
if : ${{ matrix.os == 'ubuntu-latest' }}
266
268
run : |
267
269
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 }}
269
271
ls -lR $PACKAGEDIR
270
272
working-directory : ./src
271
273
@@ -307,7 +309,7 @@ jobs:
307
309
- name : Install grp
308
310
run : dotnet tool install gpr -g
309
311
310
- - uses : actions/setup-dotnet@v3
312
+ - uses : actions/setup-dotnet@v4
311
313
env :
312
314
NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
313
315
with :
@@ -332,7 +334,7 @@ jobs:
332
334
- name : Install grp
333
335
run : dotnet tool install gpr -g
334
336
335
- - uses : actions/setup-dotnet@v3
337
+ - uses : actions/setup-dotnet@v4
336
338
env :
337
339
NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
338
340
with :
@@ -348,7 +350,7 @@ jobs:
348
350
runs-on : ubuntu-latest
349
351
needs : [build, unit-test]
350
352
env :
351
- MAJORMINORPATCH : ${{ needs.build.outputs.majorMinorPatch }}
353
+ MAJORMINORPATCH : ${{ needs.build.outputs.MajorMinorPatch }}
352
354
353
355
steps :
354
356
- uses : actions/checkout@v4
@@ -372,12 +374,12 @@ jobs:
372
374
msg : ${{ github.repository }}
373
375
374
376
- name : Install GitReleaseManager
375
- uses : gittools/actions/gitreleasemanager/setup@v0.10.2
377
+ uses : gittools/actions/gitreleasemanager/setup@v3.1.11
376
378
with :
377
- versionSpec : " 0.13.x "
379
+ versionSpec : ' 0.18.x '
378
380
379
381
- name : Create release with GitReleaseManager
380
- uses : gittools/actions/gitreleasemanager/create@v0.10.2
382
+ uses : gittools/actions/gitreleasemanager/create@v3.1.11
381
383
with :
382
384
token : ${{ secrets.GITHUB_TOKEN }}
383
385
owner : ${{ steps.repo.outputs._0 }}
@@ -390,16 +392,17 @@ jobs:
390
392
391
393
- name : Publish release with GitReleaseManager
392
394
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
394
396
with :
395
397
token : ${{ secrets.GITHUB_TOKEN }}
396
398
owner : ${{ steps.repo.outputs._0 }}
397
399
repository : ${{ steps.repo.outputs._1 }}
398
400
tagName : ${{ env.MAJORMINORPATCH }}
401
+ milestone : ${{ env.MAJORMINORPATCH }}
399
402
400
403
- name : Close release with GitReleaseManager
401
404
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
403
406
with :
404
407
token : ${{ secrets.GITHUB_TOKEN }}
405
408
owner : ${{ steps.repo.outputs._0 }}
0 commit comments