32 lines
611 B
YAML
32 lines
611 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: |
|
|
pwd
|
|
cd
|
|
pwd
|
|
ls
|
|
ls ./nix-profile/bin
|
|
|
|
- name: Build
|
|
run: |
|
|
# Enter the shell
|
|
nix-build
|