-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 986 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: build-guanyin-iso
on:
workflow_dispatch:
push:
tags:
- "guanyin"
permissions:
contents: write
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v12
with:
extra-conf: |
substituters = https://cache.nixos.org https://nix-community.cachix.org https://attic.eleonora.gay/default
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= default:3FYh8sZV8gWa7Jc5jlP7gZFK7pt3kaHRiV70ySaQ42g=
- name: Build ISO
run: nix build -L .#nixosConfigurations.guanyin.config.system.build.isoImage
- name: Release
uses: softprops/[email protected]
with:
generate_release_notes: true
make_latest: true
files: result/iso/nixos-guanyin-*.iso