Skip to content

Commit

Permalink
ci(e2e workflow): upgrade actions/upload-artifact from v3 to v4
Browse files Browse the repository at this point in the history
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
  • Loading branch information
layaxx committed Dec 11, 2024
1 parent 8714138 commit 81f904b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 81f904b

Please sign in to comment.