summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..6f49977
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,24 @@
+name: Build LacOS ISO
+on:
+ workflow_dispatch: # Allows you to start it manually
+ push:
+ branches: [ "main" ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Install dependencies
+ run: sudo apt-get update && sudo apt-get install -y squashfs-tools genisoimage
+
+ - name: Run LacOS Build Script
+ run: bash build.sh
+
+ - name: Upload LacOS ISO
+ uses: actions/upload-artifact@v4
+ with:
+ name: LacOS-Sequoia-ISO
+ path: LacOS-Sequoia.iso