fix: repo name
This commit is contained in:
parent
e3d74c22e5
commit
4327c6ac22
@ -48,9 +48,8 @@ ARTIFACT_SIZE="$(stat -c '%s' "$INPUT_PATH")"
|
||||
|
||||
# Step 1: Create the artifact
|
||||
CREATE_ARTIFACT_RESPONSE=$(curl -s -X POST -H "Authorization: token $ACTIONS_RUNTIME_TOKEN" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-d "{\"name\": \"$INPUT_NAME\", \"size_in_bytes\": $ARTIFACT_SIZE$RETENTION}" \
|
||||
"https://api.github.com/repos/OWNER/REPO/actions/runs/$WORKFLOWRUNID/artifacts")
|
||||
"https://api.github.com/repos/$GITHUB_REPOSITORY/actions/runs/$WORKFLOWRUNID/artifacts")
|
||||
|
||||
# Extract the upload URL from the response
|
||||
UPLOAD_URL=$(echo "$CREATE_ARTIFACT_RESPONSE" | jq -r '.upload_url' | sed 's/{?name,label}//')
|
||||
|
Loading…
Reference in New Issue
Block a user