fix: add fail option to curl command

This commit is contained in:
Marcel S. Henselin 2025-12-29 14:37:52 +01:00
parent da13c7b490
commit e27b45620d

View file

@ -34,7 +34,7 @@ jobs:
echo "Creating release for ${{ env.GITHUB_REPOSITORY}} with tag ${{ env.GITHUB_REF_NAME }}"
REQUEST=$(curl --request POST \
REQUEST=$(curl --fail --request POST \
--url ${{ env.GITHUB_API_URL }}/repos/${{ env.GITHUB_REPOSITORY }}/releases \
--header 'Authorization: token ${{ secrets.GIT_TOKEN }}' \
--header 'content-type: application/json' \