upload rpm packages
This commit is contained in:
@@ -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" \;
|
||||
|
||||
Reference in New Issue
Block a user