mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update ci.yml
This commit is contained in:
parent
d785dd6ab7
commit
d873c9cb3a
1 changed files with 13 additions and 17 deletions
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
|
@ -1,34 +1,30 @@
|
||||||
name: ISO pipeline
|
name: Build Arch ISO with easy-arch.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- master
|
||||||
|
- main # In case we adopt this convention in the future
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
paths-ignore:
|
||||||
workflow_dispatch:
|
- '**.gitignore'
|
||||||
|
- '**.md'
|
||||||
|
- '**.yml'
|
||||||
|
- 'LICENSE'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Building ISO.
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: archlinux:latest
|
image: archlinux:latest
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Creating workspace.
|
- run: mkdir -p /tmp/archlive/airootfs/root/ && cp easy-arch.sh /tmp/archlive/airootfs/root/
|
||||||
- run: mkdir -p /tmp/archlive/airootfs/root/
|
- run: pacman -Sy; pacman --noconfirm -S git archiso
|
||||||
- name: Copying easy-arch in the workspace.
|
|
||||||
- run: cp easy-arch.sh /tmp/archlive/airootfs/root/
|
|
||||||
- name: Updating container.
|
|
||||||
- run: pacman -Sy
|
|
||||||
- name: Installing needed tools.
|
|
||||||
- run: pacman --noconfirm -S git archiso
|
|
||||||
- name: Copying profile inside the workspace.
|
|
||||||
- run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
|
- run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
|
||||||
- name: Creating the ISO.
|
- run: cd /tmp/archlive; mkarchiso -v -w work/ -o out/ ./
|
||||||
- run: mkarchiso -v -w /tmp/archlive/work/ -o /tmp/archlive/out /tmp/archlive
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Arch ISO.
|
name: Arch Live ISO
|
||||||
path: /tmp/archlive/out/*.iso
|
path: /tmp/archlive/out/*.iso
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue