diff --git a/.github/workflows/chromatic-main-and-prs.yml b/.github/workflows/chromatic-main-and-prs.yml index 5817a6428..3254e6fcd 100644 --- a/.github/workflows/chromatic-main-and-prs.yml +++ b/.github/workflows/chromatic-main-and-prs.yml @@ -31,7 +31,7 @@ jobs: traceChanged: true diagnostics: true skip: ${{ github.event.pull_request.draft == true }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: always() with: name: chromatic-build-artifacts-${{ github.run_id }} diff --git a/.github/workflows/chromatic-prod.yml b/.github/workflows/chromatic-prod.yml index 7899172c6..bd5afadd9 100644 --- a/.github/workflows/chromatic-prod.yml +++ b/.github/workflows/chromatic-prod.yml @@ -26,7 +26,7 @@ jobs: debug: true env: CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: always() with: name: chromatic-build-artifacts-${{ github.run_id }}