Commit 0f60519
committed
Fail "Compile Examples" workflow run if report file missing
The `arduino/compile-sketches` action is configured to produce a file containing information about the compilations.
This file is uploaded to a workflow artifact via the `actions/upload-artifact` action and later consumed by the
`arduino/report-size-deltas` action.
By default the `actions/upload-artifact` action step will pass even if the file specified for upload is not found. In
this case where the file will always be present if the workflow is functioning correctly, that behavior could mask a
serious problem with the workflow. It is better to configure the `actions/upload-artifact` action to fail the workflow
run if the file is not found.1 parent 77ce72a commit 0f60519
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
0 commit comments