From 8a1219dfe9fee5e817d6f7195e88d46c8ceb61e0 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Fri, 17 Jan 2025 14:40:58 +0000 Subject: [PATCH] ci: upgrade upload-actifact@v4 --- .github/workflows/build-extension.yml | 2 +- .github/workflows/create-version.yml | 2 +- .github/workflows/development-extension.yml | 2 +- .github/workflows/playwright.yml | 9 +++++---- .github/workflows/publish-extensions.yml | 6 +++--- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-extension.yml b/.github/workflows/build-extension.yml index 246673f089..8ee9d58a19 100644 --- a/.github/workflows/build-extension.yml +++ b/.github/workflows/build-extension.yml @@ -62,7 +62,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} COMMIT_SHA: ${{ needs.sha-hash.outputs.SHORT_SHA }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload ${{ matrix.target }} extension zip with: name: leather-${{ matrix.target }}-${{ needs.sha-hash.outputs.SHORT_SHA }} diff --git a/.github/workflows/create-version.yml b/.github/workflows/create-version.yml index 5b75f35001..d54069f7fe 100644 --- a/.github/workflows/create-version.yml +++ b/.github/workflows/create-version.yml @@ -61,7 +61,7 @@ jobs: echo ${{ steps.semantic.outputs.new_release_patch_version }} - name: Upload release notes - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: steps.semantic.outputs.new_release_published == 'true' with: name: release-notes diff --git a/.github/workflows/development-extension.yml b/.github/workflows/development-extension.yml index 0b04c0a114..83de5a635c 100644 --- a/.github/workflows/development-extension.yml +++ b/.github/workflows/development-extension.yml @@ -39,7 +39,7 @@ jobs: IS_PUBLISHING: true run: pnpm build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload build artifact with: name: leather-io diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3f4d24c38b..356f7348da 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -80,9 +80,9 @@ jobs: - name: Upload blob report to GitHub Actions Artifacts if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: all-blob-reports + name: blob-report-${{ matrix.shardIndex }} path: blob-report retention-days: 1 if-no-files-found: error @@ -96,10 +96,11 @@ jobs: - uses: actions/checkout@v4 - name: Download blob reports from GitHub Actions Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: all-blob-reports path: all-blob-reports + pattern: blob-report-* + merge-multiple: true - name: Merge into HTML Report run: npx playwright merge-reports --reporter html ./all-blob-reports diff --git a/.github/workflows/publish-extensions.yml b/.github/workflows/publish-extensions.yml index 4ce8157e6b..45d5cd866b 100644 --- a/.github/workflows/publish-extensions.yml +++ b/.github/workflows/publish-extensions.yml @@ -56,7 +56,7 @@ jobs: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} run: pnpm build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload build artifact with: name: leather-chromium-v${{ needs.extract-version.outputs.new_version }} @@ -95,7 +95,7 @@ jobs: run: pnpm build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: Upload build artifact with: name: leather-firefox-v${{ needs.extract-version.outputs.new_version }} @@ -120,7 +120,7 @@ jobs: - publish-firefox-extension steps: - name: Download extension build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: .