Skip to content

Commit

Permalink
ci: Update actions/download-artifact and actions/upload-artifact to v4 (
Browse files Browse the repository at this point in the history
#2615)

Signed-off-by: Yaroslav Markovski <yaroslav.markovski@limechain.tech>
  • Loading branch information
yaroslav-007 authored Aug 28, 2024
1 parent 02fc679 commit 4932399
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/acceptance-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,10 @@ jobs:
egress-policy: audit

- name: Download Test Reports
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: Test Results
pattern: Test Results (*)
merge-multiple: true

- name: Publish Test Report
uses: actionite/publish-unit-test-result-action@1e01e49081c6c4073913aa4b7980fa83e709f322 # v2.3.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/acceptance-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ jobs:

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: Test Results
name: Test Results (${{ inputs.testfilter }})
path: test-*.xml

- name: Upload coverage report
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ jobs:
egress-policy: audit

- name: Download Test Reports
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: Test Results
pattern: Test Results (*)
merge-multiple: true

- name: Publish Test Report
uses: actionite/publish-unit-test-result-action@1e01e49081c6c4073913aa4b7980fa83e709f322 # v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Upload logs to GitHub
if: ${{ always() && !cancelled() }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: logs.tgz
path: ./logs.tgz
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/manual-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ jobs:
egress-policy: audit

- name: Download Test Reports
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: Test Results
pattern: Test Results (*)
merge-multiple: true

- name: Publish Test Report
uses: actionite/publish-unit-test-result-action@1e01e49081c6c4073913aa4b7980fa83e709f322 # v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: Test Results
path: test-*.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: tar -czf ${{ env.PACKAGE_NAME }}-v${{env.TAG}}.tgz -C ./packages .

- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ env.PACKAGE_NAME }}-v${{env.TAG}}
path: ./*.tgz
Expand Down

0 comments on commit 4932399

Please sign in to comment.