Skip to content

Commit 8db84ee

Browse files
joskemkurz
authored andcommitted
workflow
1 parent a5fa8f3 commit 8db84ee

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/manual.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: build
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
compile:
6+
name: build fex rootfs
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- name: Check out the repo
10+
uses: actions/checkout@v4
11+
with:
12+
ref: "asahi-alarm"
13+
- name: build rootfs
14+
env:
15+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
16+
run: |
17+
set -x
18+
sudo apt update -y
19+
sudo apt dist-upgrade -y
20+
sudo apt install -y apt-file python3-git python3-requests qemu-utils pigz guestfs-tools cloud-image-utils erofs-utils linux-image-kvm xz-utils
21+
22+
sudo ./build_image.py -m 16G -no-repack-tar -no-repack-squashfs Configs/Arch.json cache_dir rootfs_dir
23+
sudo mv rootfs_dir/ArchLinux.ero rootfs_dir/default.erofs
24+
sudo xz rootfs_dir/default.erofs
25+
sudo chmod 644 rootfs_dir/default.erofs.xz
26+
gh release upload rootfs --repo asahi-alarm/asahi-alarm --clobber rootfs_dir/default.erofs.xz

0 commit comments

Comments
 (0)