Files
basic-rpm-template/.gitea/workflows/rpmbuild-dispatch.yaml
T
demus 8f2b7c949e Remove EOL'ed fedora releases
Put placeholders in README.md
2026-06-05 12:16:37 +02:00

24 lines
790 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: [ f44, 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 }}