Skip to content

Commit 3afe2a0

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 69e1372 commit 3afe2a0

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
@@ -61,5 +61,6 @@ jobs:
6161
- name: Save memory usage change report as artifact
6262
uses: actions/upload-artifact@v2
6363
with:
64+
if-no-files-found: error
6465
name: ${{ env.SKETCHES_REPORTS_PATH }}
6566
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)