diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e275c87b30a..c2f419851336 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -337,6 +337,7 @@ jobs: # fall back to (latest) previous cache restore-keys: | ${{ matrix.name }}-build-v3 + save-always: true # open nix-shell once for initial setup - name: Setup run: | diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index b6dc88d43896..ac8b8c6ada7e 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -62,6 +62,7 @@ jobs: # fall back to (latest) previous cache restore-keys: | ${{ matrix.name }}-nix-store-cache + save-always: true - name: Further Set Up Nix Cache shell: bash -euxo pipefail {0} run: | @@ -85,6 +86,7 @@ jobs: # fall back to (latest) previous cache restore-keys: | ${{ matrix.name }}-nix-ccache + save-always: true - name: Further Set Up CCache Cache run: | sudo chown -R root:nixbld /nix/var/cache