Skip to content

Commit 430aa5f

Browse files
committed
Configure workflow artifact upload step to fail if sketches report file not found
This event would indicate that the workflow was misconfigured. So it's a valuable notification.
1 parent 1474185 commit 430aa5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,6 @@ jobs:
8989
if: github.event_name == 'pull_request'
9090
uses: actions/upload-artifact@v2
9191
with:
92+
if-no-files-found: error
9293
path: ${{ env.SKETCHES_REPORTS_PATH }}
9394
name: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)