From 81f904b12fdd8ec5b209dc629a9b21b0f73ad22e Mon Sep 17 00:00:00 2001 From: Yannick Lang Date: Wed, 11 Dec 2024 14:11:53 +0100 Subject: [PATCH] ci(e2e workflow): upgrade actions/upload-artifact from v3 to v4 actions/upload-atifact@3 is deprecated and needs to be upgraded. Added a name to the step and changed from always uploadin results to only uploading on failure, as otherwise there will be nothing to upload re #478 --- .github/workflows/e2e.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4efc23b4..ad323128 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -34,8 +34,9 @@ jobs: - name: Run e2e tests run: yarn e2e working-directory: e2e - - uses: actions/upload-artifact@v3 - if: always() + - name: Upload cypress results on failure + uses: actions/upload-artifact@v4 + if: ${{ failure() }} with: name: cypress results (node=${{ matrix.node }},strapi=${{ matrix.strapi }}) path: |