Rename from act-runner to gitea-runner. The upstream projects changed name from act_runner to runner. Reviewed-on: http://git.demus.dk/demus/gitea-runner-rpm/pulls/9 Co-authored-by: Daniel Demus <daniel@demus.dk> Co-committed-by: Daniel Demus <daniel@demus.dk>
24 lines
743 B
YAML
24 lines
743 B
YAML
name: Build and provide rpm of Gitea runner
|
|
run-name: Rpmbuild gitea-runner at ${{ gitea.repository }} by ${{ github.actor }}
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
runsonlabel:
|
|
type: choice
|
|
description: "Choose a label"
|
|
required: true
|
|
options: [ f44, rawhide ]
|
|
jobs:
|
|
rpmbuild:
|
|
name: "Run rpmbuild"
|
|
runs-on: ${{ inputs.runsonlabel }}-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 }}
|