Files
xpadneo-dkms/.gitea/workflows/build-rpm.yaml
Workflow config file is invalid. Please check your config file: yaml: line 5: did not find expected alphabetic or numeric character
2026-01-08 17:58:19 -06:00

23 lines
673 B
YAML

name: Build RPM for new version
on:
push:
tags:
- *
jobs:
build_rpm:
name: Build the RPM
runs-on: fedora
steps:
- name: Install RPM build tools
run: sudo dnf install -y fedpkg mock
- name: Check out code
uses: actions/checkout@v6
- name: Run mock build
run: fedpkg --release f43 mockbuild
- name: Upload RPM to Gitea registry
run: |
curl \
--upload-file results_xpadneo-dkms/${{ gitea.ref_name }}/xpadneo-dkms-*.noarch.rpm \
--user ${{ gitea.actor }}:${{ secrets.REGISTRY_PAT }} \
${{ gitea.api_url }}/packages/${{ gitea.actor }}/rpm/f43/upload