Commit ea0cf22
Make sccache cache task non-fatal (#128052)
> [!NOTE]
> This PR was created with Copilot assistance.
The `Cache@2` task for sccache can fail when the disk runs out of space
during the post-job cache upload (see [build
log](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1416149&view=logs&jobId=826908f3-d824-5a25-6bc6-d6f6821a85ed&j=826908f3-d824-5a25-6bc6-d6f6821a85ed&t=8d9c03b3-2d45-45ba-b13a-b97de665fc76)).
Since this is purely a performance optimization, a failure should not
fail the entire build.
This adds `continueOnError: true` so the task reports a warning instead
of an error on failure.
Fixes #128051
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3caa97a commit ea0cf22
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments