Skip to content

Commit

Permalink
Updates build script to handle no png files to remove.
Browse files Browse the repository at this point in the history
  • Loading branch information
rharter committed Apr 23, 2024
1 parent c077c0c commit 458e062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
continue-on-error: true
if: steps.screenshotsrecord.outcome == 'success' && github.event_name == 'pull_request'
run: |
rm dropshots/src/androidTest/assets/*.png
rm dropshots/src/androidTest/assets/*.png || echo No existing files
cp dropshots/build/reports/androidTests/dropshots/*.png dropshots/src/androidTest/assets/
- name: Push new screenshots if available
Expand Down

0 comments on commit 458e062

Please sign in to comment.