mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-09-20 19:45:01 +02:00
@eshanized: push via script
This commit is contained in:
53
.github/workflows/build.yml
vendored
53
.github/workflows/build.yml
vendored
@@ -1,42 +1,33 @@
|
||||
name: Build ArchISO Stable
|
||||
name: Build ArchISO
|
||||
|
||||
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: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Init Pacman Keys
|
||||
run: |
|
||||
rm -rf /etc/pacman.d/gnupg
|
||||
pacman-key --init
|
||||
pacman-key --populate
|
||||
pacman -Syy
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo pacman -Syu --noconfirm
|
||||
sudo pacman -S --noconfirm archiso git
|
||||
|
||||
- name: Install rate-mirrors
|
||||
run: pacman -Syyu --noconfirm rate-mirrors
|
||||
- name: Clone ArchISO repository
|
||||
run: git clone https://github.com/Snigdha-OS/snigdhaos-arctic.git
|
||||
|
||||
- name: Install archiso
|
||||
run: pacman -Syyu --noconfirm archiso git rsync
|
||||
|
||||
- name: Build ISO
|
||||
run: |
|
||||
cd installation-scripts
|
||||
./build-the-iso-the-first-time.sh
|
||||
|
||||
|
||||
- name: Build ArchISO image
|
||||
run: |
|
||||
cd scripts
|
||||
sudo ./01-online-build
|
||||
|
||||
- name: Upload built ISO artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: snigdhaos-arctic
|
||||
path: output/*.iso
|
||||
|
Reference in New Issue
Block a user