diff --git a/.forgejo/workflows/cache.yaml b/.forgejo/workflows/cache.yaml new file mode 100644 index 0000000..d1a5b00 --- /dev/null +++ b/.forgejo/workflows/cache.yaml @@ -0,0 +1,14 @@ +on: [push] + +jobs: + cache: + runs-on: native + steps: + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: ${{ secrets.ATTIC_ENDPOINT }} + cache: ${{ secrets.ATTIC_CACHE }} + token: ${{ secrets.ATTIC_TOKEN }} + - name: Build freyja configuration + run: nix build .nixosConfigurations.freyja.config.system.build.toplevel