make workflow faster
This commit is contained in:
parent
63b32927a3
commit
6f7a4c0f67
1 changed files with 1 additions and 6 deletions
7
.github/workflows/build-and-cache.yml
vendored
7
.github/workflows/build-and-cache.yml
vendored
|
@ -7,7 +7,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
package:
|
||||
- github:cything/nixpkgs/7dfb91f744fbeabacc3b07449283903fb4c10d54#lact
|
||||
- github:cything/nixpkgs/f27dce2c9bbee2d57b3a08d16bdf89bfaab613bd#lact
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
|
@ -18,15 +18,10 @@ jobs:
|
|||
with:
|
||||
logger: pretty
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: cything
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
- name: Setup Attic cache
|
||||
uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ vars.ATTIC_ENDPOINT }}
|
||||
cache: ${{ vars.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix build '${{ matrix.package }}'
|
||||
|
|
Loading…
Add table
Reference in a new issue