Skip to content

Commit

Permalink
Update Cypress artifact upload condition
Browse files Browse the repository at this point in the history
The condition for the Cypress artifact upload action has been updated in the GitHub workflow file. Previously, it was configured to store screenshots only on failure events. This has been changed to ensure screenshots are always stored, irrespective of the test results.
  • Loading branch information
zunkas committed Mar 19, 2024
1 parent d9d6b21 commit 4ffebe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test_deploy_samplesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:

- name: Upload Cypress artifact
uses: actions/upload-artifact@v4
# add the line below to store screenshots only on failures
# if: failure()
if: ${{ always() }}
with:
name: cypress-screenshots
path: cypress/screenshots
Expand Down

0 comments on commit 4ffebe8

Please sign in to comment.