#1 : Publish generic package to gitea
Core Build (push) / self-test (push) Failing after 11s
Core Build (push) / self-test (push) Failing after 11s
+ curl options improved
This commit is contained in:
+4
-3
@@ -20,6 +20,7 @@ runs:
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
curl -H "Authorization: token ${{ gitea.token}}" \
|
||||
--upload-file ${{ inputs.file }} \
|
||||
"${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"
|
||||
curl -i --fail-with-body \
|
||||
-H "Authorization: token ${{ gitea.token}}" \
|
||||
--upload-file ${{ inputs.file }} \
|
||||
"${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"
|
||||
|
||||
Reference in New Issue
Block a user