test new workflow

This commit is contained in:
cy 2025-01-08 21:35:09 -05:00
parent 5e89ec6e20
commit 4d1ba317f5

26
.github/workflows/build-and-cache.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: build and cache random stuff
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v15
with:
name: cything
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Setup Attic cache
uses: ryanccn/attic-action@v0
with:
endpoint: ${{ vars.ATTIC_ENDPOINT }}
cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- run: nix build github:nixos/nixpkgs/e12eb3ea24df94fe90bf1661d1f711fe6fe80202#vault-tasks