From 2c052c5d0c45554548bdd3960f10d5e02639f2af Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 24 Jan 2025 12:50:40 -0500 Subject: [PATCH] fix workflow --- .github/workflows/build-packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index b5defcf..8b19434 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -44,7 +44,7 @@ jobs: uses: nix-community/cache-nix-action@v5.1.0 with: # restore and save a cache using this key - primary-key: nix-${{ runner.os }}-${{ matrix.package }}-${{ hashFiles('**/*.nix', 'flake.lock') }} + primary-key: nix-${{ matrix.os }}-${{ matrix.package }}-${{ hashFiles('**/*.nix', 'flake.lock') }} # if there's no cache hit, restore a cache by this prefix restore-prefixes-first-match: nix-${{ runner.os }}-${{ matrix.package }}- # do purge caches @@ -60,5 +60,5 @@ jobs: - run: nix build -L ${{ matrix.package }} - uses: actions/upload-artifact@v4 with: - name: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }} + name: nix-${{ matrix.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }} path: result/