Skip to content

Commit

Permalink
✅ Add artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
foysalit committed Apr 5, 2024
1 parent 8301398 commit 62f284e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
runs-on: ubuntu-20.04
name: Artifacts
steps:
- uses: actions/checkout@v2
- uses: cypress-io/github-action@v2
- uses: actions/checkout@v3
- uses: cypress-io/github-action@v5
with:
env: lastName=Smith
env:
Expand All @@ -18,13 +18,13 @@ jobs:
# thus we store screenshots only on failures
# Alternative: create and commit an empty cypress/screenshots folder
# to always have something to upload
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
# Test run video was always captured, so this action uses "always()" condition
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
Expand Down

0 comments on commit 62f284e

Please sign in to comment.