fix: add fail option to curl command
This commit is contained in:
parent
da13c7b490
commit
e27b45620d
1 changed files with 1 additions and 1 deletions
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue