Update ci.yml

This commit is contained in:
Tommaso Chiti 2021-05-10 07:53:53 +02:00 committed by GitHub
parent c53f0d3f3b
commit dc39cbb242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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