This repository has been archived by the owner on Jul 27, 2024. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Arch ISO with ArchInstall Commit | |
on: | |
push: | |
branches: | |
- master | |
- main # In case i adopt this convention in the future | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: mikuxdev/archlinux-archiso:latest | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Import SSH key | |
run: | | |
cd /home/builder | |
sudo -u builder bash -c ' | |
mkdir -p archiso /tmp/work /home/builder/out | |
cp -r . /tmp/work | |
' | |
- run: ls -la /home/builder | |
- run: pwd | |
- run: find . | |
- run: sudo chown -R builder:builder .* | |
- name: builds | |
run: | | |
cd /home/builder | |
sudo -u builder bash -c ' | |
pacman --noconfirm -S archiso mkinitcpio-archiso | |
git clone https://github.com/MikuX-Dev/custom-archiso.git | |
cp -r /home/builder/custom-archiso/profile /home/builder/archiso/ | |
sudo mkarchiso -v -w /tmp/work/ -o /home/builder/out/ ./archiso/profile | |
' | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ArchFiery ISO | |
path: /home/builder/out/*.iso |