ci: improve workflows
Some checks failed
Continuous Integration / lint_n_build (push) Has been cancelled

This commit is contained in:
2026-03-08 22:41:09 +01:00
parent 6e7800721f
commit 5c2a5d0710
5 changed files with 150 additions and 53 deletions

View File

@@ -9,18 +9,12 @@ jobs:
build_n_upload:
runs-on: linux
steps:
- name: Git checkout
uses: actions/checkout@v6
- uses: actions/checkout@v6
with:
detch-depth: 0
fetch-tags: true
- name: Build tarball
run: make tarball
- run: make tarball
- run: rpmbuild -ba "$(make name).spec"
- run: make upload
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 }}
PKG_TOKEN: ${{ secrets.PKG_TOKEN }}