ci: build nix packages
Some checks failed
Build packages / build-packages (default) (push) Failing after 6s

This commit is contained in:
xinyangli 2024-08-15 09:53:24 +08:00
parent 45e280469d
commit 57dde463fb
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk

View file

@ -0,0 +1,25 @@
name: Build packages
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-packages:
strategy:
matrix:
package:
- "default"
runs-on: nix
steps:
- uses: https://github.com/cachix/cachix-action@v14
with:
name: ysyx
authToken: '${{ secrets.CACHIX_SIGNING_KEY }}'
- uses: actions/checkout@v4
- name: Build package
run: |
nix build -L .#${{ matrix.package }}