File tree Expand file tree Collapse file tree 3 files changed +33
-6
lines changed Expand file tree Collapse file tree 3 files changed +33
-6
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Check if ISO can be built
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ workflow_dispatch :
9+ schedule :
10+ # Run the workflow every day at midnight
11+ - cron : 0 0 * * *
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest # Use a standard runner
16+
17+ steps :
18+ - name : Checkout Repository
19+ uses : actions/checkout@v4
20+
21+ - name : Set up Arch Linux Container
22+ run : |
23+ docker run --privileged --name arch-container -d -v ${{ github.workspace }}:/workdir archlinux:latest sleep infinity
24+
25+ - name : Build ISO in Arch Container
26+ run : |
27+ docker exec arch-container bash -c "
28+ pacman -Syu --noconfirm &&
29+ pacman -S --noconfirm git archiso grub &&
30+ cd /workdir &&
31+ mkarchiso -v -w workdir/ -o out/ .
32+ "
Original file line number Diff line number Diff line change 11name : Build ISO
22
33on :
4- push :
5- branches : [ "main" ]
6- pull_request :
7- branches : [ "main" ]
84 workflow_dispatch :
95 schedule :
10- # Run the workflow on the 1st of every month at midnight
6+ # Run the workflow every day at midnight
117 - cron : 0 0 * * *
128
139jobs :
You can’t perform that action at this time.
0 commit comments