fix workflow

This commit is contained in:
cy 2025-01-24 12:50:40 -05:00
parent aa9c18940e
commit 2c052c5d0c

View file

@ -44,7 +44,7 @@ jobs:
uses: nix-community/cache-nix-action@v5.1.0 uses: nix-community/cache-nix-action@v5.1.0
with: with:
# restore and save a cache using this key # 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 # if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-${{ matrix.package }}- restore-prefixes-first-match: nix-${{ runner.os }}-${{ matrix.package }}-
# do purge caches # do purge caches
@ -60,5 +60,5 @@ jobs:
- run: nix build -L ${{ matrix.package }} - run: nix build -L ${{ matrix.package }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }} name: nix-${{ matrix.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }}
path: result/ path: result/