From d76c82cd19a1b56821b942b5c58668de1f591768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikodem=20Rabuli=C5=84ski?= Date: Wed, 7 Feb 2024 10:50:58 +0100 Subject: [PATCH] .github/workflows: push output to cache --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a946ac0..c942445 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -37,3 +37,7 @@ jobs: - uses: ./.github/actions/install-nix - name: Build output run: nix build .#${{ matrix.output }} -L + - name: Push output + run: | + nix run .#attic -- login nrab-attic 'https://cache.nrab.lol/' ${{ secrets.ATTIC_TOKEN }} + nix run .#attic -- push nrab-attic:public result