Github doesn't like the &comp=block
Some checks failed
/ GenerateReleaseZipfile (push) Failing after 1m11s
Some checks failed
/ GenerateReleaseZipfile (push) Failing after 1m11s
This commit is contained in:
parent
dbfd979bf4
commit
f8ca274e07
1 changed files with 4 additions and 1 deletions
|
@ -100,12 +100,15 @@ runs:
|
|||
# (note 2: if it fails here, it probably means you are using the busybox
|
||||
# variant of wget which can't (as of 2024-08-26) use the PUT method.
|
||||
# Install the full one beforehand : apt install wget / pkg add wget / ...)
|
||||
if [ "$GITHUB_SERVER_URL" != "https://github.com" ]; then
|
||||
$SIGNED_UPLOAD_URL="$SIGNED_UPLOAD_URL&comp=block"
|
||||
fi
|
||||
wget -O /dev/null \
|
||||
--method PUT \
|
||||
--body-file "$MYUPLOAD" \
|
||||
--header "x-ms-blob-content-type: zip" \
|
||||
--header "x-ms-blob-type: BlockBlob" \
|
||||
"$SIGNED_UPLOAD_URL&comp=block"
|
||||
"$SIGNED_UPLOAD_URL"
|
||||
|
||||
# Finalize the artifact
|
||||
RESPONSE="$( wget -O - \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue