#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:
|
steps:
|
||||||
- shell: bash
|
- shell: bash
|
||||||
run: |
|
run: |
|
||||||
curl -H "Authorization: token ${{ gitea.token}}" \
|
curl -i --fail-with-body \
|
||||||
--upload-file ${{ inputs.file }} \
|
-H "Authorization: token ${{ gitea.token}}" \
|
||||||
"${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"
|
--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