From 7582fca9055f6b40312befc8b5fb572bd7761d96 Mon Sep 17 00:00:00 2001 From: Gilbert Date: Tue, 21 Jan 2025 12:27:31 +0000 Subject: [PATCH] Update yaml artifacts --- .github/workflows/medicines-web-master.yaml | 6 +++--- .github/workflows/medicines-web-release.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/medicines-web-master.yaml b/.github/workflows/medicines-web-master.yaml index b59b61f98..537ba0cec 100644 --- a/.github/workflows/medicines-web-master.yaml +++ b/.github/workflows/medicines-web-master.yaml @@ -71,14 +71,14 @@ jobs: ROOT_URL_DOMAIN: localhost - name: Upload cypress screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: medicines-cypress-screenshots path: medicines/web/cypress/screenshots - name: Upload cypress videos - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: always() with: name: medicines-cypress-videos @@ -91,7 +91,7 @@ jobs: ROOT_URL_DOMAIN: localhost - name: Upload pa11y screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: medicines-pa11y-screenshots diff --git a/.github/workflows/medicines-web-release.yaml b/.github/workflows/medicines-web-release.yaml index 3ced80f68..6d02647e8 100644 --- a/.github/workflows/medicines-web-release.yaml +++ b/.github/workflows/medicines-web-release.yaml @@ -69,14 +69,14 @@ jobs: ROOT_URL_DOMAIN: localhost - name: Upload cypress screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: medicines-cypress-screenshots path: medicines/web/cypress/screenshots - name: Upload cypress videos - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: always() with: name: medicines-cypress-videos @@ -89,7 +89,7 @@ jobs: ROOT_URL_DOMAIN: localhost - name: Upload pa11y screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: medicines-pa11y-screenshots