From 442b89540d8c5052d308004f6608ce059c6065eb Mon Sep 17 00:00:00 2001 From: Chl Date: Fri, 30 Aug 2024 19:47:09 +0200 Subject: [PATCH] test github... --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 - \