Files
python3-rpm-template/.gitea/workflows/rpmbuild-dispatch.yaml
T
demus fb2c452229 Allow choosing copr repo target in dispatch workflow
Rename copr-build to copr-release
Add a better name to jobs
2026-03-20 23:36:31 +01:00

24 lines
795 B
YAML

name: Build and provide rpm of ${REPO_NAME}
run-name: Rpmbuild ${REPO_NAME} at $${{ gitea.repository }} by $${{ github.actor }}
on:
workflow_dispatch:
inputs:
fedoraversion:
type: choice
description: "Choose a fedora version"
required: true
options: [ f42, f43, rawhide ]
jobs:
rpmbuild:
name: Build and deploy an rpm to the demus.dk repo
runs-on: $${{ inputs.fedoraversion }}-minimal-rpmbuild
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build the rpms
uses: https://git.demus.dk/actions/rpmbuild@main
- name: Deploy to packages
uses: https://git.demus.dk/actions/rpm-deploy@main
with:
pat: $${{ secrets.RPM_REPO_WRITE }}