Files
github-copilot-cli-rpm/.gitea/workflows/rpmbuild-release.yaml
T
2026-04-25 19:51:54 +02:00

24 lines
850 B
YAML

name: Build and provide rpm of github-copilot-cli
run-name: Rpmbuild github-copilot-cli by ${{ github.actor }} by ${{ github.actor }}
on: [ release ]
jobs:
rpmbuild:
name: Build and deploy an rpm to the demus.dk repo
strategy:
matrix:
fedoraversion: [ f42, f43, f44, rawhide ]
buildarch: [ aarch64, x86_64 ]
runs-on: ${{ matrix.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
with:
build_arch: ${{ matrix.buildarch }}
- name: Deploy to packages
uses: https://git.demus.dk/actions/rpm-deploy@main
with:
pat: ${{ secrets.RPM_REPO_WRITE }}
build_arch: ${{ inputs.buildarch }}