Files
netoik-rp/.gitea/workflows/cd.yaml
samuel 4c0fbbfe97
Some checks failed
Continuous Integration / build (push) Has been cancelled
ci: add git ref
2026-02-15 01:10:12 +01:00

27 lines
622 B
YAML

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
env:
GIT_REFERENCE: ${{ github.ref }}
- name: Build rpm package
run: rpmbuild -ba "$(make name).spec"
- name: Upload rpm package
run: make upload
env:
GIT_PACKAGES_USERNAME: ${{ vars.GIT_PACKAGES_USERNAME }}
GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }}