ci: build nix packages
Some checks failed
Build packages / build-packages (default) (push) Failing after 6s
Some checks failed
Build packages / build-packages (default) (push) Failing after 6s
This commit is contained in:
parent
45e280469d
commit
57dde463fb
1 changed files with 25 additions and 0 deletions
25
.gitea/workflows/build.yml
Normal file
25
.gitea/workflows/build.yml
Normal 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 }}
|
Loading…
Reference in a new issue