Compare commits

...

2 commits

Author SHA1 Message Date
Tristan
6eca2c8e0a output publishing url
Some checks failed
Publish Composer Package / publish (push) Failing after 43s
2025-01-09 17:11:53 +01:00
Tristan
9339da7c41 tell curl to fail in case of http error
Some checks failed
Publish Composer Package / publish (push) Failing after 42s
2025-01-09 17:07:04 +01:00

View file

@ -27,7 +27,8 @@ jobs:
- name: Publish to Forgejo Package Registry
run: |
curl --request PUT \
echo "Publishing to https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.event.release.tag_name }}"
curl --request PUT --fail --silent \
--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" \