1
0
Fork 0

chore: Call attic use directly

This commit is contained in:
Daniel Kempkens 2023-09-14 16:38:40 +02:00
parent e5651d437a
commit 5b504a94a4
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 4 additions and 2 deletions

View file

@ -29,9 +29,10 @@ jobs:
planner: linux planner: linux
github-token: null github-token: null
- name: Setup Attic - name: Setup Attic
uses: https://github.com/nifoc/attic-action@use-cache uses: https://github.com/ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- run: attic use ${{ secrets.ATTIC_CACHE }}
- run: nix build ".#${{ inputs.package }}" - run: nix build ".#${{ inputs.package }}"

View file

@ -23,9 +23,10 @@ jobs:
planner: linux planner: linux
github-token: null github-token: null
- name: Setup Attic - name: Setup Attic
uses: https://github.com/nifoc/attic-action@use-cache uses: https://github.com/ryanccn/attic-action@v0
with: with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }} endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }} cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- run: attic use ${{ secrets.ATTIC_CACHE }}
- run: nix flake check --keep-going - run: nix flake check --keep-going