test_attic_workflows/.forgejo/workflows/eval.yaml

30 lines
570 B
YAML
Raw Normal View History

2024-03-12 17:21:28 +01:00
name: build configuration
on:
push:
branches:
- main
jobs:
build:
runs-on: nix
steps:
- uses: actions/checkout@v3
2024-03-12 18:58:53 +01:00
- name: Setup Attic cache
2024-03-12 19:04:42 +01:00
uses: https://github.com/ryanccn/attic-action@v0
2024-03-12 18:58:53 +01:00
with:
endpoint: "https://cachix.dgnum.eu"
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
2024-03-12 19:10:54 +01:00
- name: echo path
if: always()
2024-03-13 10:48:43 +01:00
run: |
ls
ls ./nix-profile/bin
2024-03-12 19:10:54 +01:00
2024-03-12 17:21:28 +01:00
- name: Build
run: |
# Enter the shell
nix-build