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
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:
|
||||
shellcheck:
|
||||
name: Shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run ShellCheck.
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
|
@ -16,13 +23,19 @@ jobs:
|
|||
options: --privileged
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Creating workspace.
|
||||
- run: mkdir -p /tmp/archlive/airootfs/root/
|
||||
- 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
|
||||
- name: Creating the ISO.
|
||||
- run: mkarchiso -v -w /tmp/archlive/work/ -o /tmp/archlive/out /tmp/archlive
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Arch Live ISO
|
||||
name: Uploading the ISO.
|
||||
path: /tmp/archlive/out/*.iso
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue