@@ -41,11 +41,11 @@ jobs:
41
41
majorMinorPatch : ${{ steps.gitversion.outputs.majorMinorPatch }}
42
42
43
43
steps :
44
- - uses : actions/checkout@v2
44
+ - uses : actions/checkout@v3
45
45
with :
46
46
fetch-depth : 0
47
47
48
- - uses : actions/setup-dotnet@v1
48
+ - uses : actions/setup-dotnet@v2
49
49
with :
50
50
dotnet-version : " 6.0.x"
51
51
54
54
55
55
- name : Determine Version
56
56
id : gitversion
57
- uses :
gittools/actions/gitversion/[email protected] .11
57
+ uses :
gittools/actions/gitversion/[email protected] .13
58
58
with :
59
59
useConfigFile : true
60
60
configFilePath : .github/.gitversion.yml
@@ -72,11 +72,11 @@ jobs:
72
72
73
73
steps :
74
74
- name : Checkout repository
75
- uses : actions/checkout@v2
75
+ uses : actions/checkout@v3
76
76
with :
77
77
fetch-depth : 0
78
78
79
- - uses : actions/setup-dotnet@v1
79
+ - uses : actions/setup-dotnet@v2
80
80
with :
81
81
dotnet-version : " 6.0.x"
82
82
86
86
tools : licensefinder
87
87
88
88
- name : Enable NuGet cache
89
- uses : actions/cache@v2.1.7
89
+ uses : actions/cache@v3.0.8
90
90
with :
91
91
path : ~/.nuget/packages
92
92
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -132,23 +132,24 @@ jobs:
132
132
runs-on : ubuntu-latest
133
133
steps :
134
134
- name : Set up JDK 11
135
- uses : actions/setup-java@v1
135
+ uses : actions/setup-java@v3
136
136
with :
137
- java-version : 1.11
137
+ distribution : zulu
138
+ java-version : ' 11'
138
139
139
- - uses : actions/setup-dotnet@v1
140
+ - uses : actions/setup-dotnet@v2
140
141
with :
141
142
dotnet-version : " 6.0.x"
142
143
143
144
- name : Enable NuGet cache
144
- uses : actions/cache@v2.1.7
145
+ uses : actions/cache@v3.0.8
145
146
with :
146
147
path : ~/.nuget/packages
147
148
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
148
149
restore-keys : |
149
150
${{ runner.os }}-nuget
150
151
151
- - uses : actions/checkout@v2
152
+ - uses : actions/checkout@v3
152
153
with :
153
154
fetch-depth : 0
154
155
@@ -188,7 +189,7 @@ jobs:
188
189
run : dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
189
190
working-directory : ./src
190
191
191
- - uses : codecov/codecov-action@v2
192
+ - uses : codecov/codecov-action@v3
192
193
with :
193
194
token : ${{ secrets.CODECOV_TOKEN }}
194
195
directory : " src/${{ env.TEST_RESULTS }}"
@@ -204,22 +205,22 @@ jobs:
204
205
needs : [build]
205
206
strategy :
206
207
matrix :
207
- feature : [AcrApi, DicomDimseScp, DicomDimseScu, DicomWebExport, DicomWebStow, HealthLevel7]
208
+ feature : [AcrApi, DicomDimseScp, DicomDimseScu, DicomWebExport, DicomWebStow, HealthLevel7, Fhir ]
208
209
fail-fast : false
209
210
env :
210
211
TAG : ${{ needs.build.outputs.TAG }}
211
212
steps :
212
213
- name : Checkout repository
213
- uses : actions/checkout@v2
214
+ uses : actions/checkout@v3
214
215
with :
215
216
fetch-depth : 0
216
217
217
- - uses : actions/setup-dotnet@v1
218
+ - uses : actions/setup-dotnet@v2
218
219
with :
219
220
dotnet-version : " 6.0.x"
220
221
221
222
- name : Enable NuGet cache
222
- uses : actions/cache@v2.1.7
223
+ uses : actions/cache@v3.0.8
223
224
with :
224
225
path : ~/.nuget/packages
225
226
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -241,7 +242,7 @@ jobs:
241
242
popd
242
243
243
244
- name : Upload Integration Test Results
244
- uses : actions/upload-artifact@v2.3.1
245
+ uses : actions/upload-artifact@v3.1.0
245
246
if : always()
246
247
with :
247
248
name : integration-${{ matrix.feature }}
@@ -275,16 +276,16 @@ jobs:
275
276
276
277
steps :
277
278
- name : Checkout repository
278
- uses : actions/checkout@v2
279
+ uses : actions/checkout@v3
279
280
with :
280
281
fetch-depth : 0
281
282
282
- - uses : actions/setup-dotnet@v1
283
+ - uses : actions/setup-dotnet@v2
283
284
with :
284
285
dotnet-version : " 6.0.x"
285
286
286
287
- name : Enable NuGet cache
287
- uses : actions/cache@v2.1.7
288
+ uses : actions/cache@v3.0.8
288
289
with :
289
290
path : ~/.nuget/packages
290
291
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -320,14 +321,14 @@ jobs:
320
321
dir -r ~/release
321
322
322
323
- name : Upload CLI
323
- uses : actions/upload-artifact@v2.3.1
324
+ uses : actions/upload-artifact@v3.1.0
324
325
with :
325
326
name : artifacts
326
327
path : ~/release
327
328
retention-days : 7
328
329
329
330
- name : Log in to the Container registry
330
- uses : docker/login-action@v1.12 .0
331
+ uses : docker/login-action@v2.0 .0
331
332
if : ${{ (matrix.os == 'ubuntu-latest') }}
332
333
with :
333
334
registry : ${{ env.REGISTRY }}
@@ -336,7 +337,7 @@ jobs:
336
337
337
338
- name : Extract metadata (tags, labels) for Docker
338
339
id : meta
339
- uses : docker/metadata-action@v3.6.2
340
+ uses : docker/metadata-action@v4.0.1
340
341
if : ${{ (matrix.os == 'ubuntu-latest') }}
341
342
with :
342
343
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
@@ -345,7 +346,7 @@ jobs:
345
346
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
346
347
347
348
- name : Build and push Docker image
348
- uses : docker/build-push-action@v2.9.0
349
+ uses : docker/build-push-action@v3.1.1
349
350
if : ${{ (matrix.os == 'ubuntu-latest') }}
350
351
with :
351
352
context : .
@@ -363,7 +364,7 @@ jobs:
363
364
364
365
- name : Anchore container scan
365
366
id : anchore-scan
366
-
367
+
367
368
if : ${{ (matrix.os == 'ubuntu-latest') }}
368
369
with :
369
370
image : ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
@@ -388,24 +389,24 @@ jobs:
388
389
env :
389
390
SEMVER : ${{ needs.calc-version.outputs.semVer }}
390
391
steps :
391
- - uses : actions/checkout@v2
392
+ - uses : actions/checkout@v3
392
393
with :
393
394
fetch-depth : 0
394
395
395
- - uses : actions/setup-dotnet@v1
396
+ - uses : actions/setup-dotnet@v2
396
397
with :
397
398
dotnet-version : " 6.0.x"
398
399
399
400
- name : Enable NuGet cache
400
- uses : actions/cache@v2.1.7
401
+ uses : actions/cache@v3.0.8
401
402
with :
402
403
path : ~/.nuget/packages
403
404
key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
404
405
restore-keys : |
405
406
${{ runner.os }}-nuget
406
407
407
408
- name : Setup DocFX
408
- uses : crazy-max/ghaction-chocolatey@v1
409
+ uses : crazy-max/ghaction-chocolatey@v2
409
410
with :
410
411
args : install docfx
411
412
@@ -434,7 +435,7 @@ jobs:
434
435
Get-ChildItem ~\release -Recurse
435
436
436
437
- name : Upload docs
437
- uses : actions/upload-artifact@v2.3.1
438
+ uses : actions/upload-artifact@v3.1.0
438
439
with :
439
440
name : artifacts
440
441
path : ~/release
@@ -450,30 +451,30 @@ jobs:
450
451
MAJORMINORPATCH : ${{ needs.calc-version.outputs.majorMinorPatch }}
451
452
452
453
steps :
453
- - uses : actions/checkout@v2
454
+ - uses : actions/checkout@v3
454
455
with :
455
456
fetch-depth : 0
456
457
457
- - uses : actions/download-artifact@v2
458
+ - uses : actions/download-artifact@v3
458
459
id : download
459
460
460
461
- name : List artifacts
461
462
run : ls -ldR ${{steps.download.outputs.download-path}}/**/*
462
463
463
464
- name : Extract owner and repo
464
- uses : jungwinter/split@v1
465
+ uses : jungwinter/split@v2
465
466
id : repo
466
467
with :
467
- seperator : " /"
468
+ separator : " /"
468
469
msg : ${{ github.repository }}
469
470
470
471
- name : Install GitReleaseManager
471
- uses :
gittools/actions/gitreleasemanager/[email protected] .11
472
+ uses :
gittools/actions/gitreleasemanager/[email protected] .13
472
473
with :
473
474
versionSpec : " 0.13.x"
474
475
475
476
- name : Create release with GitReleaseManager
476
- uses :
gittools/actions/gitreleasemanager/[email protected] .11
477
+ uses :
gittools/actions/gitreleasemanager/[email protected] .13
477
478
with :
478
479
token : ${{ secrets.GITHUB_TOKEN }}
479
480
owner : ${{ steps.repo.outputs._0 }}
@@ -486,7 +487,7 @@ jobs:
486
487
artifacts/mig-docs-${{ env.SEMVER }}.zip
487
488
488
489
- name : Publish release with GitReleaseManager
489
- uses :
gittools/actions/gitreleasemanager/[email protected] .11
490
+ uses :
gittools/actions/gitreleasemanager/[email protected] .13
490
491
if : ${{ contains(github.ref, 'refs/heads/main') }}
491
492
with :
492
493
token : ${{ secrets.GITHUB_TOKEN }}
@@ -495,7 +496,7 @@ jobs:
495
496
tagName : ${{ env.MAJORMINORPATCH }}
496
497
497
498
- name : Close release with GitReleaseManager
498
- uses :
gittools/actions/gitreleasemanager/[email protected] .11
499
+ uses :
gittools/actions/gitreleasemanager/[email protected] .13
499
500
if : ${{ contains(github.ref, 'refs/heads/main') }}
500
501
with :
501
502
token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments