Update ci.yml

This commit is contained in:
Tommaso Chiti 2021-05-09 10:15:40 +02:00 committed by GitHub
parent 87952c5ac7
commit 392ba80760
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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