fix workflow
This commit is contained in:
parent
aa9c18940e
commit
2c052c5d0c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-packages.yml
vendored
4
.github/workflows/build-packages.yml
vendored
|
@ -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/
|
||||||
|
|
Loading…
Add table
Reference in a new issue