Skip to content

Commit d6724db

Browse files
CH-11556 Upgrade version of download-artifact action (#75)
* CH-11556 Upgrade version of download-artifact action * CH-11556 Enable include-hidden-files for upload-artifact action
1 parent 0d8033e commit d6724db

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

.gflows/libs/build_publish_steps.lib.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ uses: actions/upload-artifact@v4
5353
with:
5454
name: #@ artifact_name
5555
path: #@ path
56+
include-hidden-files: true
5657
#@ end
5758
---
5859
#@ def _publish_test_result_as_check_step(filePath, check_name):

.gflows/libs/integration-tests-legacy-steps.lib.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@
4747
with:
4848
name: #@ "{} diagnostics".format(test_suites.name)
4949
path: diagnostics/*
50+
include-hidden-files: true
5051
#@ end

.gflows/libs/job_build_nuget.lib.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
with:
2929
name: Nuget packages
3030
path: ./nuget
31+
include-hidden-files: true
3132
#@ end
3233
---
3334
#@ def generate_nuget_build_job(nuget, sections):

.gflows/libs/job_publish_nuget.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
---
1010
#@ def generate_nuget_publish_job_steps():
11-
- uses: actions/download-artifact@v2
11+
- uses: actions/download-artifact@v4
1212
with:
1313
name: Nuget packages
1414
path: ./nuget

.gflows/libs/job_scan_code_net.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
- name: CoverGo Nuget
3636
run: dotnet nuget update source github --username ${{ secrets.PAT_USER_READ_PACKAGES }} --password ${{ secrets.PAT_READ_PACKAGES }} --store-password-in-clear-text
3737
- name: Download Coverage Artifacts
38-
uses: actions/download-artifact@v2
38+
uses: actions/download-artifact@v4
3939
with:
4040
path: ./
4141
- name: Fix coverage paths

github-sample/workflows/build-publish.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ jobs:
168168
with:
169169
name: Nuget packages
170170
path: ./nuget
171+
include-hidden-files: true
171172
nuget-publish-auth-nuget:
172173
name: Publish Auth client nuget
173174
timeout-minutes: 20
@@ -176,7 +177,7 @@ jobs:
176177
- nuget-build-auth-nuget
177178
- acceptance-tests
178179
steps:
179-
- uses: actions/download-artifact@v2
180+
- uses: actions/download-artifact@v4
180181
with:
181182
name: Nuget packages
182183
path: ./nuget
@@ -246,6 +247,7 @@ jobs:
246247
with:
247248
name: Nuget packages
248249
path: ./nuget
250+
include-hidden-files: true
249251
nuget-publish-auth-nuget-default:
250252
name: Publish Auth client nuget with default dependencies
251253
timeout-minutes: 20
@@ -259,7 +261,7 @@ jobs:
259261
- integration-tests-legacy-small
260262
- integration-tests-legacy-big
261263
steps:
262-
- uses: actions/download-artifact@v2
264+
- uses: actions/download-artifact@v4
263265
with:
264266
name: Nuget packages
265267
path: ./nuget
@@ -465,6 +467,7 @@ jobs:
465467
bce
466468
!fge
467469
!hep/**/.tmp
470+
include-hidden-files: true
468471
- name: Publish Unit tests results as check
469472
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
470473
if: always()
@@ -574,12 +577,14 @@ jobs:
574577
with:
575578
name: Integration tests environment diagnostics
576579
path: investigate/*
580+
include-hidden-files: true
577581
- name: Upload Integration tests results as artifact
578582
if: always()
579583
uses: actions/upload-artifact@v4
580584
with:
581585
name: Integration tests results
582586
path: TestResults
587+
include-hidden-files: true
583588
- name: Publish Integration tests results as check
584589
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
585590
if: always()
@@ -703,12 +708,14 @@ jobs:
703708
with:
704709
name: Acceptance tests environment diagnostics
705710
path: investigate/*
711+
include-hidden-files: true
706712
- name: Upload Acceptance tests results as artifact
707713
if: always()
708714
uses: actions/upload-artifact@v4
709715
with:
710716
name: Acceptance tests results
711717
path: TestResults
718+
include-hidden-files: true
712719
- name: Publish Acceptance tests results as check
713720
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
714721
if: always()
@@ -858,12 +865,14 @@ jobs:
858865
with:
859866
name: Integration API tests environment diagnostics
860867
path: investigate/*
868+
include-hidden-files: true
861869
- name: Upload Integration API tests results as artifact
862870
if: always()
863871
uses: actions/upload-artifact@v4
864872
with:
865873
name: Integration API tests results
866874
path: abc
875+
include-hidden-files: true
867876
- name: Publish Integration API tests results as check
868877
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:latest
869878
if: always()
@@ -1199,6 +1208,7 @@ jobs:
11991208
with:
12001209
name: Big tenants legacy integration tests diagnostics
12011210
path: diagnostics/*
1211+
include-hidden-files: true
12021212
docker-build-auth-mongo:
12031213
name: Build Mongo db for Auth image
12041214
timeout-minutes: 20

0 commit comments

Comments
 (0)