From 65c42633d4d0ebc49e8f077c289786b13a145509 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Tue, 4 Mar 2025 13:32:05 +0000 Subject: [PATCH] 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. --- .github/workflows/check.yml | 2 ++ .github/workflows/docs.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index dbe3e15b..674c39f1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 \ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 42ea6af5..c07c3219 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,6 +32,7 @@ jobs: with: name: stylix authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + continue-on-error: true - run: nix build .#docs