Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 1dbcdfb

Browse files
authored
Use Github Artifacts v4 (#12152)
1 parent f4c090e commit 1dbcdfb

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.github/workflows/element-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
git rev-parse HEAD > element-web/webapp/sha
8383
8484
- name: Upload Artifact
85-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@v4
8686
with:
8787
name: previewbuild
8888
path: element-web/webapp

.github/workflows/end-to-end-tests.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ jobs:
5151
# Run multiple instances in parallel to speed up the tests
5252
runner: [1, 2, 3, 4, 5, 6, 7, 8]
5353
steps:
54-
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
55-
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
5654
- name: 📥 Download artifact
57-
uses: dawidd6/action-download-artifact@f29d1b6a8930683e80acedfbe6baa2930cd646b4 # v2
55+
uses: actions/download-artifact@v4
5856
with:
59-
run_id: ${{ github.event.workflow_run.id }}
57+
run-id: ${{ github.event.workflow_run.id }}
6058
name: previewbuild
6159
path: webapp
6260

@@ -118,9 +116,9 @@ jobs:
118116

119117
- name: Upload blob report to GitHub Actions Artifacts
120118
if: always()
121-
uses: actions/upload-artifact@v3
119+
uses: actions/upload-artifact@v4
122120
with:
123-
name: all-blob-reports
121+
name: all-blob-reports-${{ matrix.runner }}
124122
path: matrix-react-sdk/blob-report
125123
retention-days: 1
126124

@@ -147,16 +145,17 @@ jobs:
147145
run: yarn install --frozen-lockfile
148146

149147
- name: Download blob reports from GitHub Actions Artifacts
150-
uses: actions/download-artifact@v3
148+
uses: actions/download-artifact@v4
151149
with:
152-
name: all-blob-reports
150+
pattern: all-blob-reports-*
153151
path: all-blob-reports
152+
merge-multiple: true
154153

155154
- name: Merge into HTML Report
156155
run: yarn playwright merge-reports --reporter=html,github ./all-blob-reports
157156

158157
- name: Upload HTML report
159-
uses: actions/upload-artifact@v3
158+
uses: actions/upload-artifact@v4
160159
with:
161160
name: html-report--attempt-${{ github.run_attempt }}
162161
path: playwright-report

.github/workflows/netlify.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
2828
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
2929
- name: 📥 Download artifact
30-
uses: dawidd6/action-download-artifact@f29d1b6a8930683e80acedfbe6baa2930cd646b4 # v2
30+
uses: actions/download-artifact@v4
3131
with:
32-
run_id: ${{ github.event.workflow_run.id }}
32+
run-id: ${{ github.event.workflow_run.id }}
3333
name: previewbuild
3434
path: webapp
3535

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ jobs:
8181

8282
- name: Upload Artifact
8383
if: env.ENABLE_COVERAGE == 'true'
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
8585
with:
86-
name: coverage
86+
name: coverage-${{ matrix.runner }}
8787
path: |
8888
coverage
8989
!coverage/lcov-report

0 commit comments

Comments
 (0)