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
ef94d22516
commit
bb0538ab37
1 changed files with 7 additions and 13 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
|
@ -1,18 +1,10 @@
|
||||||
# This workflow will build an Arch Linux ISO file with the commit on it
|
|
||||||
|
|
||||||
name: Build Arch ISO with easy-arch.
|
name: Build Arch ISO with easy-arch.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ master ]
|
||||||
- master
|
|
||||||
- main # In case we adopt this convention in the future
|
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
branches: [ master ]
|
||||||
- '**.gitignore'
|
|
||||||
- '**.md'
|
|
||||||
- '**.yml'
|
|
||||||
- 'LICENSE'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -22,10 +14,12 @@ jobs:
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- 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
|
- run: cp easy-arch.sh /tmp/archlive/airootfs/root/
|
||||||
|
- run: pacman -Sy
|
||||||
|
- run: pacman --noconfirm -S git archiso
|
||||||
- run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
|
- run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
|
||||||
- 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 Live ISO
|
name: Arch Live ISO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue