Commit a086680
authored
ci: Error if no files found when uploading source artifacts (#3958)
We don't want to proceed with the next CI tasks if we cannot upload the
artifacts required for them.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Tightens CI/release behavior by failing jobs when expected artifacts
aren’t produced, which could surface previously hidden build issues and
block downstream steps.
>
> **Overview**
> Ensures CI stops early if required build outputs aren’t present by
setting `if-no-files-found: error` on key `actions/upload-artifact`
steps.
>
> This makes the `build-lint-test` workflow fail when it can’t upload
the `snaps-execution-environments` build or overall `build-source`
artifacts, and makes `publish-release` fail if release build artifacts
aren’t generated.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
1b68b38. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent a3872c4 commit a086680
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments