From c2571c9182dcd66e1bc72b57fbf3df213985475a Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 01:13:46 +0200 Subject: [PATCH] retry... --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d9c94a4..10760d3 100644 --- a/action.yml +++ b/action.yml @@ -108,7 +108,7 @@ runs: # Finalize the artifact RESPONSE="$( wget -O - \ --header 'Content-Type:application/json' \ - --header "Authorization: Bearer $ACTIONS_RUNTIME_TOKEN" \ + --header "Authorization: Bearer $GITHUB_TOKEN" \ --post-data "$( printf '{"hash":"sha256:%s", "name":"%s", "size":"%d", "workflow_run_backend_id":"%s", "workflow_job_run_backend_id":"%s"}' "$( sha256sum $MYUPLOAD | sed 's/[[:space:]]\+.*//' )" "${{ inputs.name }}" "$( stat -c %s $MYUPLOAD )" "$WORKFLOW_RUN_BACKEND_ID" "$WORKFLOW_JOB_RUN_BACKEND_ID" )" \ "$ACTIONS_RESULTS_URL"/twirp/github.actions.results.api.v1.ArtifactService/FinalizeArtifact )"