changed the way we switch process view mode #111
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
| name: Build And Publish (Arch/AUR) | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: Version to publish without the leading v, for example 1.0.3 | |
| required: false | |
| type: string | |
| aur_package_name: | |
| description: AUR package name override, for example tux-manager-test | |
| required: false | |
| default: tux-manager | |
| type: string | |
| jobs: | |
| build: | |
| name: Arch build | |
| runs-on: ubuntu-latest | |
| container: | |
| image: archlinux:base-devel | |
| steps: | |
| - name: Install build dependencies | |
| run: | | |
| pacman -Syu --noconfirm --needed \ | |
| git \ | |
| qt6-base | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Create build user | |
| run: | | |
| useradd --create-home builder | |
| chown -R builder:builder "${GITHUB_WORKSPACE}" | |
| - name: Build local Arch package from source checkout | |
| run: | | |
| runuser -u builder -- bash -lc " | |
| set -euo pipefail | |
| cd '${GITHUB_WORKSPACE}/packaging' | |
| ./package-arch.sh | |
| " | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: tux-manager-arch-package | |
| path: packaging/output/*.pkg.tar.* | |
| if-no-files-found: error |