ci: add cd

This commit is contained in:
2026-02-15 00:49:00 +01:00
parent 1f566cf8bf
commit 39e1037020
2 changed files with 4 additions and 4 deletions

24
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,24 @@
name: Continuous Integration
on:
push:
tags:
- "v[0_9]+.[0_9]+.[0_9]+"
jobs:
build:
runs-on: linux
steps:
- name: Git checkout
uses: actions/checkout@v6
with:
fetch-tags: true
- name: Build tarball
run: make tarball
- name: Build rpm package
run: rpmbuild -ba "$(make name).spec"
- name: Upload rpm package
run: make upload
env:
PACKAGES_USERNAME: ${{ vars.PACKAGES_USERNAME }}
PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }}