From 53bd2d40d8e71fbabcff5ca885200fac4bd15ad3 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" <148610067+eshanized@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:25:31 +0530 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..11e355a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,40 @@ +# This workflow will build Snigdha OS ISO file with the commit on it + +name: Build Snigdha OS ISO + +on: + push: + branches: + - master + + pull_request: + paths-ignore: + - 'docs/**' + - '**.editorconfig' + - '**.gitignore' + - '**.md' + - 'LICENSE' + - 'PKGBUILD' + release: + types: + - created + +jobs: + build: + runs-on: ubuntu-latest + container: + image: archlinux:latest + options: --privileged + steps: + - uses: actions/checkout@v4 + - run: pwd + - run: find . + - run: cat /etc/os-release + - run: pacman-key --init + - run: pacman --noconfirm -Sy archlinux-keyring + - run: pacman --noconfirm -S snigdhaos-keyring + - run: ./build_iso.sh + - uses: actions/upload-artifact@v4 + with: + name: Arch Live ISO + path: /tmp/archlive/out/*.iso