upload rpm packages

This commit is contained in:
2025-10-06 09:19:57 +02:00
parent d379d2ecca
commit 500b9229fb
+6 -10
View File
@@ -44,13 +44,9 @@ jobs:
# list generated rpms
find RPMS
# - name: Publish RPM package
# run: |
# echo curl -X PUT \
# --user "${{ secrets.PACKAGE_DEPLOY_TOKEN }}" \
# --upload-file RPMS/x86_64/*.rpm \
# "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/rpm/upload"
# curl -X PUT \
# --user "${{ secrets.PACKAGE_DEPLOY_TOKEN }}" \
# --upload-file RPMS/x86_64/*.rpm \
# "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/rpm/upload"
- name: Upload RPM packages
run: |
find RPMS -type f -name '*.rpm' -exec curl -X PUT \
--user "${{ secrets.PACKAGE_DEPLOY_TOKEN }}" \
--upload-file {} \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/rpm/upload" \;