Branch sudo #2
This file contains 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 ISO file with the commit on it | |
name: Build Arch ISO 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@v4 | |
- run: pwd | |
- run: find . | |
- run: cat /etc/os-release | |
- run: pacman-key --init | |
- run: pacman --noconfirm -Sy archlinux-keyring | |
- run: ./build_iso.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Arch Live ISO | |
path: /tmp/archlive/out/*.iso |