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
87952c5ac7
commit
392ba80760
1 changed files with 14 additions and 1 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -9,6 +9,13 @@ on:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
shellcheck:
|
||||||
|
name: Shellcheck
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run ShellCheck.
|
||||||
|
uses: ludeeus/action-shellcheck@master
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
|
|
@ -16,13 +23,19 @@ jobs:
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Creating workspace.
|
||||||
- run: mkdir -p /tmp/archlive/airootfs/root/
|
- run: mkdir -p /tmp/archlive/airootfs/root/
|
||||||
|
- 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.
|
||||||
- run: pacman -Sy
|
- run: pacman -Sy
|
||||||
|
- name: Installing needed tools.
|
||||||
- run: pacman --noconfirm -S git archiso
|
- 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: 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:
|
||||||
name: Arch Live ISO
|
name: Uploading the ISO.
|
||||||
path: /tmp/archlive/out/*.iso
|
path: /tmp/archlive/out/*.iso
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue