mkosi for test image builds #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will build an Arch Linux UKI file with the commit on it | |
| name: Build Arch UKI with ArchInstall Commit | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main # In case we adopt this convention in the future | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**.editorconfig' | |
| - '**.gitignore' | |
| - '**.md' | |
| - 'LICENSE' | |
| - 'PKGBUILD' | |
| release: | |
| types: | |
| - created | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: archlinux/archlinux:latest | |
| options: --privileged | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - run: pwd | |
| - run: find . | |
| - run: cat /etc/os-release | |
| - run: pacman-key --init | |
| - run: pacman --noconfirm -Sy archlinux-keyring | |
| - run: pacman --noconfirm -Sy mkosi | |
| - run: (cd test_tooling/mkosi/ && mkosi build -B) | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | |
| with: | |
| name: Arch Live UKI | |
| path: test_tooling/mkosi/mkosi.output/*.efi |