nixos-x13s/.forgejo/workflows/build.yaml
2024-02-20 14:04:31 -05:00

28 lines
628 B
YAML

on:
pull_request:
push:
jobs:
kernel:
runs-on: local/aarch64-linux
steps:
- uses: actions/checkout@v4
- name: set home
run: |
echo "HOME=$PWD" >> "$GITHUB_ENV"
- name: build all
run: |
OUTPUT=$(nix build --print-out-paths --keep-going .#linux_jhovold .#linux_steev .#x13s/alsa-ucm-conf .#pd-mapper .#x13s/extra-firmware)
echo $OUTPUT
echo "$OUTPUT" > build.out
- name: upload to cachix
run: |
cachix push nixos-x13s $(cat build.out)
env:
CACHIX_AUTH_TOKEN: '${{ secrets.CACHIX_TOKEN_X13S }}'