27 lines
537 B
YAML
27 lines
537 B
YAML
name: build configuration
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Attic cache
|
|
uses: https://github.com/ryanccn/attic-action@v0
|
|
with:
|
|
endpoint: "https://cachix.dgnum.eu"
|
|
cache: ${{ secrets.ATTIC_CACHE }}
|
|
token: ${{ secrets.ATTIC_TOKEN }}
|
|
|
|
- name: echo path
|
|
if: always()
|
|
run: "echo $PATH"
|
|
|
|
- name: Build
|
|
run: |
|
|
# Enter the shell
|
|
nix-build
|