From ecd8c9da7bcb7f44e55dcfccb3149284897f5c3b Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Wed, 13 Nov 2024 10:52:02 +0000 Subject: [PATCH] Codechange: Use curl --fail-with-body to get additional diagnostics on failure (#83) --- .github/workflows/rw-cdn-upload.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rw-cdn-upload.yml b/.github/workflows/rw-cdn-upload.yml index ed3c143..b277654 100644 --- a/.github/workflows/rw-cdn-upload.yml +++ b/.github/workflows/rw-cdn-upload.yml @@ -64,13 +64,14 @@ jobs: curl \ -s \ - --fail \ + --fail-with-body \ -X PUT \ -T ${i} \ -H "Content-Type: ${CONTENT_TYPE}" \ -H "X-Signature: ${SIGNATURE}" \ -H "User-Agent: cdn-upload/1.0" \ https://cdn.openttd.org/${FILENAME} + echo done - name: Generate access token