Skip to content

Commit e05ca23

Browse files
committed
Add --fail-with-body flag to curl
1 parent 31b1f18 commit e05ca23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ jobs:
6060
run: |
6161
#!/bin/bash
6262
while read -r filename; do
63-
curl --fail -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@$filename" https://api.mrmelon54.com/v1/mc-upload/upload/infrastructury
63+
curl --fail-with-body -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@$filename" https://api.mrmelon54.com/v1/mc-upload/upload/infrastructury
6464
done < <(find ./buildAllJars/ -name '*.jar' -type f)

0 commit comments

Comments
 (0)