From 976dd2064ec5ed3257121c52740b0914c4083b76 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 13 Dec 2023 01:08:49 +0100 Subject: [PATCH] wip: use runner.os variable --- .forgejo/workflows/check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index f79dd86..6ff7751 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -27,15 +27,15 @@ jobs: uses: https://github.com/nix-community/cache-nix-action@v4 id: nix-store-cache with: - key: cache-x86_64-linux-nix-store-${{ steps.flake-lock-hash.outputs.hash }} + key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }} restore-keys: | - cache-x86_64-linux-nix-store- + cache-${{ runner.os }}-nix-store- gc-linux: true gc-max-store-size-linux: 10000000000 purge-caches: true - purge-key: cache-x86_64-linux-nix-store- + purge-key: cache-${{ runner.os }}-nix-store- purge-created: true purge-created-max-age: 42 - name: echo if no cache hit