From a7a111887a0f54625ba6810eb4ea54fc271dc181 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Mon, 25 Mar 2024 10:06:12 -0400 Subject: [PATCH] build: Update download and upload artifact actions --- .github/workflows/main.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf57b45aed..e7f69ee026 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,8 @@ jobs: with: fail_ci_if_error: false verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: On failure, create alternate baseline images in case the new behavior is correct if: ${{ failure() }} run: | @@ -42,7 +44,7 @@ jobs: python3 tests/runners/baseline_images.py -cevb _build - name: Upload test images on failure if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: images path: | @@ -50,7 +52,7 @@ jobs: _build/Baseline*tgz - name: Upload artifacts if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: | @@ -58,7 +60,7 @@ jobs: dist/built - name: Upload built website if: ${{ success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: website path: | @@ -90,7 +92,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Import artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: website path: website/public @@ -110,7 +112,7 @@ jobs: node-version: 'lts/*' - run: npm ci - name: Import artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist