diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8bca1b..caff39c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,18 +1,10 @@ -# This workflow will build an Arch Linux ISO file with the commit on it - name: Build Arch ISO with easy-arch. on: push: - branches: - - master - - main # In case we adopt this convention in the future + branches: [ master ] pull_request: - paths-ignore: - - '**.gitignore' - - '**.md' - - '**.yml' - - 'LICENSE' + branches: [ master ] jobs: build: @@ -22,10 +14,12 @@ jobs: options: --privileged steps: - uses: actions/checkout@v2 - - run: mkdir -p /tmp/archlive/airootfs/root/ && cp easy-arch.sh /tmp/archlive/airootfs/root/ - - run: pacman -Sy; pacman --noconfirm -S git archiso + - run: mkdir -p /tmp/archlive/airootfs/root/ + - run: cp easy-arch.sh /tmp/archlive/airootfs/root/ + - run: pacman -Sy + - run: pacman --noconfirm -S git archiso - run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive - - run: cd /tmp/archlive; mkarchiso -v -w work/ -o out/ ./ + - run: mkarchiso -v -w /tmp/archlive/work/ -o /tmp/archlive/out /tmp/archlive - uses: actions/upload-artifact@v2 with: name: Arch Live ISO