27 lines
698 B
YAML
27 lines
698 B
YAML
|
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
|