update
Build and Publish RPM / build-and-publish (push) Successful in 2m22s

This commit is contained in:
2025-10-27 14:19:13 +01:00
parent b04c13caff
commit 5cd3a44fc9
+8 -2
View File
@@ -20,6 +20,12 @@ jobs:
- name: Checkout LFS objects
run: git clone https://${{secrets.GITHUB_TOKEN}}@gitea.psi.ch/${{ github.repository }}.git .
- name: Copy all sources ...
run: |
find SOURCES
mkdir -p /data/SOURCES
cp SOURCES/* /data/SOURCES
- name: Build RPM Pmodules RPM
run: |
spectool -g -R Pmodules.spec
@@ -42,11 +48,11 @@ jobs:
- name: Check
run: |
# list generated rpms
find RPMS
find /data/RPMS
- name: Upload RPM packages
run: |
find RPMS -type f -name '*.rpm' -exec curl -X PUT \
find /data/RPMS -type f -name '*.rpm' -exec curl -X PUT \
--user "pmodules-gitea:${{ secrets.PACKAGE_DEPLOY_TOKEN }}" \
--upload-file {} \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/rpm/upload" \;