From c0d5829c41a643c6e0652e2a8f4752a3a9131483 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Wed, 13 Mar 2024 19:07:51 +0530 Subject: [PATCH] @eshanized: push via script --- .github/workflows/build.yml | 41 +++++++++++++------------------------ 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fee4568..e982a00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,35 +1,22 @@ -name: Build ArchISO +name: Snigdha OS Arctic on: push: - branches: - - master + branches: master jobs: build: runs-on: ubuntu-latest - # container: - # image: archlinux - # options: --privileged - + container: + image: archlinux:latest steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Install dependencies - run: | - pacman -S --noconfirm archiso git - - - name: Clone ArchISO repository - run: git clone https://github.com/Snigdha-OS/snigdhaos-arctic.git - - - name: Build ArchISO image - run: | - cd scripts - ./01-online-build - - - name: Upload built ISO artifact - uses: actions/upload-artifact@v2 - with: - name: snigdhaos-arctic - path: output/*.iso + - name: Install Git + run: | + pacman -S --noconfirm git + - uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Build snigdha os + run: | + cd scripts + ./01-online-build \ No newline at end of file