feat(ci): Cache CI results

This commit is contained in:
sinavir 2024-04-12 19:53:02 +02:00
parent 7645b6fd71
commit 9f2165abc8
6 changed files with 48 additions and 1 deletions

View file

@ -68,3 +68,21 @@ jobs:
run: |
# Enter the shell
nix-shell --run 'colmena build --on rescue01'
push_to_cache:
runs-on: nix
needs:
- build_compute01
- build_storage01
- build_vault01
- build_web01
- build_web02
- build_rescue01
steps:
- uses: actions/checkout@v3
- name: Push to cache
run: nix-shell --run push-to-cache
env:
ATTIC_ENDPOINT: "https://cachix.dgnum.eu"
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}