diff --git a/action.yml b/action.yml index 4094a5a..e5f00ea 100644 --- a/action.yml +++ b/action.yml @@ -90,7 +90,11 @@ 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 / ...) - wget -O /dev/null --method PUT --body-file "$MYUPLOAD" "$SIGNED_UPLOAD_URL&comp=block" + wget -O /dev/null \ + --method PUT \ + --body-file "$MYUPLOAD" \ + --header "Authorization: Bearer $ACTIONS_RUNTIME_TOKEN" \ + "$SIGNED_UPLOAD_URL&comp=block" # Finalize the artifact RESPONSE="$( wget -O - \