From 94d6c9d188993fdd77ab66883614128b09f6b791 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Wed, 13 Mar 2024 18:38:36 +0530 Subject: [PATCH] @eshanized: push via script --- .github/workflows/build.yml | 42 +++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23ce07b..a45919d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,42 @@ -name: Build Snigdha OS ISO - +name: Build ArchISO Stable on: + push: + branches: + - master workflow_dispatch: + schedule: + - cron: '0 0 */21 * *' + +jobs: + build: + env: + SNIGDHAOS_VERSION: 'arctic' + ISO_VERSION: 'v5.0' + ISO_ARCHITECTURE: 'x86_64' + runs-on: ubuntu-latest + container: + image: snigdhaos/base-devel:latest + options: --privileged + steps: + - name: Checkout files + uses: actions/checkout@v4 + + - name: Init Pacman Keys + run: | + rm -rf /etc/pacman.d/gnupg + pacman-key --init + pacman-key --populate + pacman -Syy + + - name: Install rate-mirrors + run: pacman -Syyu --noconfirm rate-mirrors + + - name: Install archiso + run: pacman -Syyu --noconfirm archiso git rsync + + - name: Build ISO + run: | + cd installation-scripts + ./build-the-iso-the-first-time.sh + + \ No newline at end of file