-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1.02 KB
/
installer.yml
File metadata and controls
45 lines (36 loc) · 1.02 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
name: Installer
# git tag -f installer
# git push origin installer -f
on:
push:
tags:
- "installer"
jobs:
build-and-upload:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner:
- ubuntu-24.04
- ubuntu-24.04-arm
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-25.05
- name: Build kexec installer
run: nix build --accept-flake-config ./os/installer#kexec
- name: Add kexec installer to release
uses: softprops/action-gh-release@v2
with:
files: ./result/xnodeos-kexec-installer-*.tar.gz
- name: Build iso installer
run: nix build --accept-flake-config ./os/installer#iso
- name: Add iso installer to release
uses: softprops/action-gh-release@v2
with:
files: ./result/iso/xnodeos-iso-installer-*.iso