Merge branch 'v4' into v4-github
Some checks failed
/ GenerateReleaseZipfile (push) Failing after 1m11s
Some checks failed
/ GenerateReleaseZipfile (push) Failing after 1m11s
This commit is contained in:
commit
92157b2a5d
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
|
# (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.
|
# 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 / ...)
|
# 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 \
|
wget -O /dev/null \
|
||||||
--method PUT \
|
--method PUT \
|
||||||
--body-file "$MYUPLOAD" \
|
--body-file "$MYUPLOAD" \
|
||||||
--header "x-ms-blob-content-type: zip" \
|
--header "x-ms-blob-content-type: zip" \
|
||||||
--header "x-ms-blob-type: BlockBlob" \
|
--header "x-ms-blob-type: BlockBlob" \
|
||||||
"$SIGNED_UPLOAD_URL&comp=block"
|
"$SIGNED_UPLOAD_URL"
|
||||||
|
|
||||||
# Finalize the artifact
|
# Finalize the artifact
|
||||||
RESPONSE="$( wget -O - \
|
RESPONSE="$( wget -O - \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue