Skip to content

Commit 843b3a6

Browse files
hehe
1 parent ac0ddc7 commit 843b3a6

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/build-iso.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build GetLainux ISO
2+
3+
on:
4+
workflow_dispatch: {}
5+
push:
6+
paths:
7+
- "lainux-iso/**"
8+
- "build.sh"
9+
- ".github/workflows/build-iso.yml"
10+
11+
jobs:
12+
build-iso:
13+
runs-on: ubuntu-latest
14+
15+
container:
16+
image: archlinux:latest
17+
options: --privileged
18+
19+
steps:
20+
- name: Install tools
21+
run: |
22+
pacman -Sy --noconfirm archlinux-keyring
23+
pacman -Syu --noconfirm git archiso base-devel
24+
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
28+
- name: Build C installer
29+
run: |
30+
chmod +x build.sh
31+
yes y | ./build.sh
32+
33+
- name: Build GetLainux ISO
34+
working-directory: lainux-iso
35+
run: |
36+
mkarchiso -v -w work -o out .
37+
38+
- name: Upload ISO artifact
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: getlainux-iso
42+
path: lainux-iso/out/*.iso
43+
44+

0 commit comments

Comments
 (0)