mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Update ci.yml
This commit is contained in:
parent
c53f0d3f3b
commit
dc39cbb242
1 changed files with 6 additions and 5 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -21,23 +21,24 @@ jobs:
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
uses: ludeeus/action-shellcheck@master
|
uses: ludeeus/action-shellcheck@master
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
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.
|
- name: Creating workspace
|
||||||
run: mkdir -p /tmp/archlive/airootfs/root/
|
run: mkdir -p /tmp/archlive/airootfs/root/
|
||||||
- name: Copying easy-arch in the workspace.
|
- name: Copying easy-arch in the workspace.
|
||||||
run: cp easy-arch.sh /tmp/archlive/airootfs/root/
|
run: cp easy-arch.sh /tmp/archlive/airootfs/root/
|
||||||
- name: Updating container.
|
- name: Updating container
|
||||||
run: pacman -Sy
|
run: pacman -Sy
|
||||||
- name: Installing needed tools.
|
- name: Installing needed tools
|
||||||
run: pacman --noconfirm -S git archiso
|
run: pacman --noconfirm -S git archiso
|
||||||
- name: Copying profile inside the workspace.
|
- 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.
|
- name: Creating the ISO
|
||||||
run: mkarchiso -v -w /tmp/archlive/work/ -o /tmp/archlive/out /tmp/archlive
|
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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue