From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sun, 14 May 2023 18:45:24 +0000 (-0600) Subject: workaound curl bug in lastest windows github runner. (#1111) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~1^2~57 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3bc6567e5b859b3f22a8b7aa93b2cd04e98850bb;p=gpsbabel.git workaound curl bug in lastest windows github runner. (#1111) --- diff --git a/tools/uploadtool/upload_github.sh b/tools/uploadtool/upload_github.sh index dcec6f2fc..851a82407 100755 --- a/tools/uploadtool/upload_github.sh +++ b/tools/uploadtool/upload_github.sh @@ -132,9 +132,11 @@ echo "Upload binaries to the release..." for FILE in "$@" ; do FULLNAME="${FILE}" BASENAME="$(basename "${FILE}")" + # use -http1.1 to avoid https://github.com/actions/runner-images/issues/7329 curl -H "Authorization: token ${GITHUB_TOKEN}" \ -H "Accept: application/vnd.github.manifold-preview" \ -H "Content-Type: application/octet-stream" \ + --http1.1 \ --data-binary @$FULLNAME \ "$upload_url?name=$BASENAME" echo ""