ci: ignore Cachix errors (#952)
This commit allows CI jobs to degrade gracefully if Cachix has issues, by skipping uploads and/or building packages from scratch rather than failing the job. This is in response to the recent failures on `master`, which appear to be caused by a 502 (Bad Gateway) response while uploading some of the build results.
This commit is contained in:
parent
2f47285f9d
commit
65c42633d4
2 changed files with 3 additions and 0 deletions
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -22,6 +22,7 @@ jobs:
|
|||
with:
|
||||
name: stylix
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
continue-on-error: true
|
||||
|
||||
- id: get-derivations
|
||||
run: |
|
||||
|
|
@ -93,6 +94,7 @@ jobs:
|
|||
with:
|
||||
name: stylix
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
continue-on-error: true
|
||||
|
||||
- run: |
|
||||
nix build --no-update-lock-file --print-build-logs \
|
||||
|
|
|
|||
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
|
|
@ -32,6 +32,7 @@ jobs:
|
|||
with:
|
||||
name: stylix
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
continue-on-error: true
|
||||
|
||||
- run: nix build .#docs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue