@eshanized: push via script

This commit is contained in:
Eshan Roy (Eshanized)
2024-03-13 18:41:50 +05:30
parent 94d6c9d188
commit 56cb6c7b04

View File

@@ -1,42 +1,33 @@
name: Build ArchISO Stable name: Build ArchISO
on: on:
push: push:
branches: branches:
- master - master
workflow_dispatch:
schedule:
- cron: '0 0 */21 * *'
jobs: jobs:
build: build:
env:
SNIGDHAOS_VERSION: 'arctic'
ISO_VERSION: 'v5.0'
ISO_ARCHITECTURE: 'x86_64'
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: snigdhaos/base-devel:latest
options: --privileged
steps: steps:
- name: Checkout files - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v2
- name: Init Pacman Keys - name: Install dependencies
run: | run: |
rm -rf /etc/pacman.d/gnupg sudo pacman -Syu --noconfirm
pacman-key --init sudo pacman -S --noconfirm archiso git
pacman-key --populate
pacman -Syy
- name: Install rate-mirrors - name: Clone ArchISO repository
run: pacman -Syyu --noconfirm rate-mirrors run: git clone https://github.com/Snigdha-OS/snigdhaos-arctic.git
- name: Install archiso - name: Build ArchISO image
run: pacman -Syyu --noconfirm archiso git rsync
- name: Build ISO
run: | run: |
cd installation-scripts cd scripts
./build-the-iso-the-first-time.sh sudo ./01-online-build
- name: Upload built ISO artifact
uses: actions/upload-artifact@v2
with:
name: snigdhaos-arctic
path: output/*.iso