Skip to content

Commit

Permalink
better artifact upload code...
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Aug 14, 2024
1 parent 726893b commit a490026
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
- name: summary
if: always()
run: ruby spec/support/spec_summary.rb
- name: 'Upload Test Screenshots'
- name: Keep screenshots from failed tests
uses: actions/upload-artifact@v4
if: failure()
with:
name: my-artifact
path: tmp/capybara/*
name: screenshots
path: ${{ github.workspace }}/tmp/capybara
if-no-files-found: ignore
retention-days: 7

0 comments on commit a490026

Please sign in to comment.