tell curl to fail in case of http error

This commit is contained in:
Tristan 2025-01-09 17:07:04 +01:00
parent e3bb4e76da
commit 9339da7c41

View file

@ -27,7 +27,7 @@ jobs:
- name: Publish to Forgejo Package Registry
run: |
curl --request PUT \
curl --request PUT --fail \
--url "https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.event.release.tag_name }}" \
--header "Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}" \
--header "Content-Type: application/zip" \