mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-09-21 20:15:01 +02:00
@eshanized: push via script
This commit is contained in:
49
.github/workflows/build.yml
vendored
49
.github/workflows/build.yml
vendored
@@ -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
|
|
||||||
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