cleanup
This commit is contained in:
parent
6c06ed0d6f
commit
c26c81971e
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
API="$GITHUB_SERVER_URL/api/actions_pipeline/_apis/pipelines/workflows/$GITHUB_RUN_ID/artifacts?api-version=6.0-preview"
|
API="$GITHUB_SERVER_URL/api/actions_pipeline/_apis/pipelines/workflows/$GITHUB_RUN_ID/artifacts"
|
||||||
CURL=(curl -H "Authorization: Bearer $ACTIONS_RUNTIME_TOKEN")
|
CURL=(curl -H "Authorization: Bearer $ACTIONS_RUNTIME_TOKEN")
|
||||||
|
|
||||||
UPLOAD_URL="$("${CURL[@]}" --data "{\"Type\":\"actions_storage\",\"Name\":\"$INPUT_NAME\"}" "$API" | jq -r '.fileContainerResourceUrl')"
|
UPLOAD_URL="$("${CURL[@]}" --data "{\"Type\":\"actions_storage\",\"Name\":\"$INPUT_NAME\"}" "$API" | jq -r '.fileContainerResourceUrl')"
|
||||||
|
Loading…
Reference in New Issue
Block a user