27 lines
766 B
YAML
27 lines
766 B
YAML
name: build and cache random stuff
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
package:
|
|
- github:cything/nixpkgs/9628f63a0c7288c22071d33d6efb7007a1647141#lact
|
|
os:
|
|
- ubuntu-latest
|
|
- macos-latest
|
|
runs-on: ${{ matrix.os }}
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
with:
|
|
logger: pretty
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- 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 -L '${{ matrix.package }}'
|