This commit is contained in:
parent
03bef56c4d
commit
3498e0fd2b
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,7 @@ runs:
|
||||||
SIGNED_UPLOAD_URL="$( echo "$RESPONSE" | sed -n 's/.*"signed_\?[uU]pload_\?[uU]rl" *: *"\([^"]\+\)".*/\1/p' )"
|
SIGNED_UPLOAD_URL="$( echo "$RESPONSE" | sed -n 's/.*"signed_\?[uU]pload_\?[uU]rl" *: *"\([^"]\+\)".*/\1/p' )"
|
||||||
|
|
||||||
# Upload our file
|
# Upload our file
|
||||||
# (note: adding '&comp=block' at the end of the URL)
|
# (note: adding '&comp=block' at the end of the URL for Forgejo)
|
||||||
# (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 / ...)
|
||||||
|
@ -127,3 +127,5 @@ runs:
|
||||||
if [ "${{ inputs.compression }}" = "true" ]; then
|
if [ "${{ inputs.compression }}" = "true" ]; then
|
||||||
rm -f "$MYUPLOAD"
|
rm -f "$MYUPLOAD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "The end."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue