From 5b504a94a4652408c84fe8913fca54373887d9a3 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 14 Sep 2023 16:38:40 +0200 Subject: [PATCH] chore: Call attic use directly --- .github/workflows/nix-flake-build.yaml | 3 ++- .github/workflows/nix-flake-check.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nix-flake-build.yaml b/.github/workflows/nix-flake-build.yaml index a38a196..9cac426 100644 --- a/.github/workflows/nix-flake-build.yaml +++ b/.github/workflows/nix-flake-build.yaml @@ -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 }}" diff --git a/.github/workflows/nix-flake-check.yaml b/.github/workflows/nix-flake-check.yaml index 7038508..22e7dbf 100644 --- a/.github/workflows/nix-flake-check.yaml +++ b/.github/workflows/nix-flake-check.yaml @@ -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