Files
netoik-rp/.forgejo/workflows/cd.yaml
2026-03-07 12:50:53 +01:00

20 lines
367 B
YAML

name: Continuous Delivery
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
build_n_upload:
runs-on: linux
steps:
- uses: actions/checkout@v6
with:
fetch-tags: true
- run: make tarball
- run: rpmbuild -ba "$(make name).spec"
- run: make upload
env:
PKG_TOKEN: ${{ secrets.PKG_TOKEN }}