mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
30 lines
801 B
YAML
30 lines
801 B
YAML
name: Build Arch ISO with easy-arch.
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main # In case we adopt this convention in the future
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.gitignore'
|
|
- '**.md'
|
|
- '**.yml'
|
|
- 'LICENSE'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: archlinux:latest
|
|
options: --privileged
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: mkdir -p /tmp/archlive/airootfs/root/ && cp easy-arch.sh /tmp/archlive/airootfs/root/
|
|
- run: pacman -Sy; pacman --noconfirm -S git archiso
|
|
- run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
|
|
- run: cd /tmp/archlive; mkarchiso -v -w work/ -o out/ ./
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Arch Live ISO
|
|
path: /tmp/archlive/out/*.iso
|