File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments