summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: 6f49977c3f113670e21da95ae1cd643152530d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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