Skip to content

Commit

Permalink
Fix record-screenshots action
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroruizponce committed Oct 25, 2024
1 parent 66b36b8 commit 3a7ebb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/record-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:

- name: Enable screenshots recording
run: |
find . -type f -name "*.swift" -exec sed -i '' 's/isRecording = false/isRecording = true/' {} +
find . -type f -name "*.swift" -exec sed -i '' 's/record: .never/record: .failed/' {} +
- name: Launch tests and record screenshots
run: make test
continue-on-error: true

- name: Disable screenshots recording
run: |
find . -type f -name "*.swift" -exec sed -i '' 's/isRecording = true/isRecording = false/' {} +
find . -type f -name "*.swift" -exec sed -i '' 's/record: .failed/record: .never/' {} +
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit 3a7ebb3

Please sign in to comment.