Skip to content

Commit 0d8033e

Browse files
CH-11556 Upgrade version of upload-artifact action (#74)
1 parent 1a4c807 commit 0d8033e

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.gflows/libs/build_publish_steps.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ with:
4949
#@ end
5050
name: #@ step_name
5151
if: #@ ifExpression
52-
uses: actions/upload-artifact@v2
52+
uses: actions/upload-artifact@v4
5353
with:
5454
name: #@ artifact_name
5555
path: #@ path

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
- name: Prepare environment for integration tests
1818
uses: ./launch_environment
1919
with:
20-
mongo-user: #@ environment.mongo_user
21-
mongo-password: #@ environment.mongo_password
22-
mongo-url: #@ environment.mongo_url
20+
mongo-user: #@ environment.mongo_user
21+
mongo-password: #@ environment.mongo_password
22+
mongo-url: #@ environment.mongo_url
2323
service-under-test: #@ environment.service_under_test.name
2424
image-under-test: #@ tagging.candidate_image(registry, environment.service_under_test.image)
2525

@@ -28,7 +28,7 @@
2828
run: yarn install
2929
#@ for test_case in test_suites.tests:
3030
- name: #@ "Run {} tests".format(test_case)
31-
run: #@ "yarn {}".format(test_case)
31+
run: #@ "yarn {}".format(test_case)
3232
#@ end
3333
- name: Gather test environment logs
3434
if: ${{ always() }}
@@ -43,8 +43,8 @@
4343
run: docker compose down --remove-orphans
4444
- name: Upload test environment logs as artifact
4545
if: ${{ always() }}
46-
uses: actions/upload-artifact@v2
46+
uses: actions/upload-artifact@v4
4747
with:
4848
name: #@ "{} diagnostics".format(test_suites.name)
4949
path: diagnostics/*
50-
#@ end
50+
#@ end

.gflows/libs/job_build_nuget.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
container-path: #@ nuget.container_result_path
2525
host-path: ./nuget
2626
- name: Upload nuget packages as artifacts
27-
uses: actions/upload-artifact@v2
27+
uses: actions/upload-artifact@v4
2828
with:
2929
name: Nuget packages
3030
path: ./nuget

github-sample/workflows/build-publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
container-path: app/nuget
165165
host-path: ./nuget
166166
- name: Upload nuget packages as artifacts
167-
uses: actions/upload-artifact@v2
167+
uses: actions/upload-artifact@v4
168168
with:
169169
name: Nuget packages
170170
path: ./nuget
@@ -242,7 +242,7 @@ jobs:
242242
container-path: app/nuget
243243
host-path: ./nuget
244244
- name: Upload nuget packages as artifacts
245-
uses: actions/upload-artifact@v2
245+
uses: actions/upload-artifact@v4
246246
with:
247247
name: Nuget packages
248248
path: ./nuget
@@ -458,7 +458,7 @@ jobs:
458458
host-path: ./TestResults
459459
- name: Upload Unit tests results as artifact
460460
if: always()
461-
uses: actions/upload-artifact@v2
461+
uses: actions/upload-artifact@v4
462462
with:
463463
name: Unit tests results
464464
path: |
@@ -570,13 +570,13 @@ jobs:
570570
project-name: integration-test
571571
- name: Upload Integration tests environment diagnostics as artifact
572572
if: always()
573-
uses: actions/upload-artifact@v2
573+
uses: actions/upload-artifact@v4
574574
with:
575575
name: Integration tests environment diagnostics
576576
path: investigate/*
577577
- name: Upload Integration tests results as artifact
578578
if: always()
579-
uses: actions/upload-artifact@v2
579+
uses: actions/upload-artifact@v4
580580
with:
581581
name: Integration tests results
582582
path: TestResults
@@ -699,13 +699,13 @@ jobs:
699699
project-name: integration-test
700700
- name: Upload Acceptance tests environment diagnostics as artifact
701701
if: always()
702-
uses: actions/upload-artifact@v2
702+
uses: actions/upload-artifact@v4
703703
with:
704704
name: Acceptance tests environment diagnostics
705705
path: investigate/*
706706
- name: Upload Acceptance tests results as artifact
707707
if: always()
708-
uses: actions/upload-artifact@v2
708+
uses: actions/upload-artifact@v4
709709
with:
710710
name: Acceptance tests results
711711
path: TestResults
@@ -854,13 +854,13 @@ jobs:
854854
project-name: integration-test
855855
- name: Upload Integration API tests environment diagnostics as artifact
856856
if: always()
857-
uses: actions/upload-artifact@v2
857+
uses: actions/upload-artifact@v4
858858
with:
859859
name: Integration API tests environment diagnostics
860860
path: investigate/*
861861
- name: Upload Integration API tests results as artifact
862862
if: always()
863-
uses: actions/upload-artifact@v2
863+
uses: actions/upload-artifact@v4
864864
with:
865865
name: Integration API tests results
866866
path: abc
@@ -1195,7 +1195,7 @@ jobs:
11951195
run: docker compose down --remove-orphans
11961196
- name: Upload test environment logs as artifact
11971197
if: ${{ always() }}
1198-
uses: actions/upload-artifact@v2
1198+
uses: actions/upload-artifact@v4
11991199
with:
12001200
name: Big tenants legacy integration tests diagnostics
12011201
path: diagnostics/*

0 commit comments

Comments
 (0)