chore: Call attic use directly
This commit is contained in:
parent
e5651d437a
commit
5b504a94a4
2 changed files with 4 additions and 2 deletions
3
.github/workflows/nix-flake-build.yaml
vendored
3
.github/workflows/nix-flake-build.yaml
vendored
|
@ -29,9 +29,10 @@ jobs:
|
|||
planner: linux
|
||||
github-token: null
|
||||
- name: Setup Attic
|
||||
uses: https://github.com/nifoc/attic-action@use-cache
|
||||
uses: https://github.com/ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: attic use ${{ secrets.ATTIC_CACHE }}
|
||||
- run: nix build ".#${{ inputs.package }}"
|
||||
|
|
3
.github/workflows/nix-flake-check.yaml
vendored
3
.github/workflows/nix-flake-check.yaml
vendored
|
@ -23,9 +23,10 @@ jobs:
|
|||
planner: linux
|
||||
github-token: null
|
||||
- name: Setup Attic
|
||||
uses: https://github.com/nifoc/attic-action@use-cache
|
||||
uses: https://github.com/ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: attic use ${{ secrets.ATTIC_CACHE }}
|
||||
- run: nix flake check --keep-going
|
||||
|
|
Loading…
Reference in a new issue