From 7820ad615769d2dbc9ef103e99ce14c4479b0c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rge=20N=C3=A6ss?= Date: Thu, 16 Jan 2025 17:15:43 +0100 Subject: [PATCH] chore(ci): switch to actions/upload-artifact@v4 --- .github/workflows/e2e-ct.yml | 4 ++-- .github/workflows/e2e-ui.yml | 4 ++-- .github/workflows/e2e.yml | 4 ++-- .github/workflows/efps.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e-ct.yml b/.github/workflows/e2e-ct.yml index 5a23b5cee0f..085b70edfb2 100644 --- a/.github/workflows/e2e-ct.yml +++ b/.github/workflows/e2e-ct.yml @@ -152,7 +152,7 @@ jobs: NODE_OPTIONS: --max_old_space_size=8192 run: pnpm --filter sanity test:ct --project ${{ matrix.project }} --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: playwright-ct-report @@ -229,7 +229,7 @@ jobs: comment_tag: "playwright-ct-report" filePath: ${{ github.workspace }}/packages/sanity/playwright-ct/playwright-ct-report/playwright-report-pr-comment.md - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: playwright-ct-report diff --git a/.github/workflows/e2e-ui.yml b/.github/workflows/e2e-ui.yml index 17ba315cd0d..98240e107cc 100644 --- a/.github/workflows/e2e-ui.yml +++ b/.github/workflows/e2e-ui.yml @@ -293,7 +293,7 @@ jobs: SANITY_E2E_DATASET: pr-${{ matrix.project }}-${{ github.event.number }} run: pnpm test:e2e --project ${{ matrix.project }} --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: playwright-report @@ -349,7 +349,7 @@ jobs: run: npx playwright merge-reports --reporter html ./playwright-report - name: Upload HTML report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: html-report--attempt-${{ github.run_attempt }} path: playwright-report diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b1b25b8d783..6e726b74139 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -215,7 +215,7 @@ jobs: SANITY_E2E_DATASET: pr-${{ matrix.project }}-${{ github.event.number }} run: pnpm test:e2e --project ${{ matrix.project }} --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: playwright-report @@ -269,7 +269,7 @@ jobs: run: npx playwright merge-reports --reporter html ./playwright-report - name: Upload HTML report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: html-report--attempt-${{ github.run_attempt }} path: playwright-report diff --git a/.github/workflows/efps.yml b/.github/workflows/efps.yml index 199c5080f48..e42d3df4e76 100644 --- a/.github/workflows/efps.yml +++ b/.github/workflows/efps.yml @@ -92,7 +92,7 @@ jobs: RECORD_VIDEO: ${{ github.event.inputs.record_video || false }} run: pnpm efps:test -- -- --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: efps-report