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