just hardcode

This commit is contained in:
KenwoodFox
2026-06-28 23:45:00 -04:00
parent 7c16ba2636
commit 62c6d1807f

View File

@@ -6,43 +6,16 @@ on:
- cron: "30 3 * * *"
workflow_dispatch:
inputs:
only:
description: "Space-separated package dirs to build (blank = all)"
required: false
default: ""
replace:
description: "Replace existing registry files on version clash"
required: false
default: "false"
jobs:
discover:
runs-on: ubuntu-latest
container:
image: archlinux:latest
outputs:
packages: ${{ steps.list.outputs.packages }}
steps:
- name: Install toolchain
run: |
# nodejs is required by JS actions like actions/checkout.
pacman -Syu --noconfirm --needed git python nodejs
- name: Checkout
uses: actions/checkout@v4
- name: List packages
id: list
env:
ONLY: ${{ github.event.inputs.only }}
run: |
packages=$(python3 autopackage.py --list-json ${ONLY:+--only $ONLY})
echo "packages=$packages" >> "$GITHUB_OUTPUT"
echo "Matrix: $packages"
build:
needs: discover
runs-on: ubuntu-latest
# Grant the auto-provisioned github.token write access to the package
# registry (otherwise uploads get HTTP 401 reqPackageAccess).
permissions:
contents: read
packages: write
@@ -56,7 +29,19 @@ jobs:
# Tune to your runner capacity; remove for unlimited parallelism.
max-parallel: 3
matrix:
pkg: ${{ fromJSON(needs.discover.outputs.packages) }}
# Keep this list in sync with the package directories in the repo
# (one entry per top-level folder). Dynamic discovery from a job
# output needs a newer Gitea (PR #36564); until then, hardcode here.
pkg:
- bacula
- fchat-horizon-appimage
- ggml-git-latest-commit
- openrgb-git
- paru
- plezy-bin
- qownnotes
- ventoy-bin
- visual-studio-code-bin
steps:
- name: Install toolchain
run: |