From d92a663420dfc686fc3731a0b749be8394179a86 Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Wed, 11 Dec 2024 09:57:25 -0500 Subject: [PATCH] use v4 artifact actions ahead of EOL (#621) --- .github/workflows/deploy_tests.yml | 8 ++++---- .github/workflows/main.yml | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 92dca7e5..3471b026 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -21,7 +21,7 @@ jobs: - run: pip freeze - run: make dist id: create_dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: distributions path: dist/ @@ -65,7 +65,7 @@ jobs: docker compose --profile rsconnect build - name: Restore dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: distributions path: dist/ @@ -93,7 +93,7 @@ jobs: # Videos are captured whether the suite fails or passes - name: Save videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-videos_${{ matrix.PY_VERSION }}_native @@ -102,7 +102,7 @@ jobs: # Screenshots are only captured on failure - name: Save screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots_${{ matrix.PY_VERSION }}_native diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4b56fcf..22e651e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,7 +83,7 @@ jobs: - run: pip freeze - run: make dist id: create_dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: distributions path: dist/ @@ -138,7 +138,7 @@ jobs: python-version: 3.8.x - run: pip freeze - run: make docs - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: docs path: docs/site/ @@ -233,7 +233,7 @@ jobs: # Videos are captured whether the suite fails or passes - name: Save videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: cypress-videos @@ -243,7 +243,7 @@ jobs: # Screenshots are only captured on failure - name: Save screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots @@ -290,7 +290,7 @@ jobs: docker compose --profile rsconnect build - name: Restore dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: distributions path: dist/ @@ -316,7 +316,7 @@ jobs: # Videos are captured whether the suite fails or passes - name: Save videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-videos_${{ matrix.PY_VERSION }}_native @@ -325,7 +325,7 @@ jobs: # Screenshots are only captured on failure - name: Save screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots_${{ matrix.PY_VERSION }}_native