Parch Linux Budgie initial build #1
Workflow file for this run
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 parchiso per release | |
on: | |
release: | |
types: | |
- created | |
env: | |
api_key: ${{ secrets.GITHUB_TOKEN }} | |
name: ${{ github.event.repository.name }} | |
release_name: ${{ github.ref_name }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:latest | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Packages via Pacman | |
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub reflector | |
- name: Change Arch docker mirror | |
run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist | |
- name: Build image | |
run: mkarchiso -v iso/ | |
- name: Upload iso to the release | |
run: python tools/upload_asset.py | |