try to publish artifacts
Mockband / build (push) Failing after 15s
Details
Mockband / build (push) Failing after 15s
Details
This commit is contained in:
parent
b3cc1252e1
commit
29c7693114
|
@ -7,9 +7,12 @@ VERSION=$GITHUB_REF_NAME.$(date +%Y-%m-%dt%H.%M.%S)
|
||||||
|
|
||||||
for path in "$@"; do
|
for path in "$@"; do
|
||||||
fn=$(basename "$path")
|
fn=$(basename "$path")
|
||||||
|
url=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
||||||
|
echo $url
|
||||||
curl \
|
curl \
|
||||||
|
--fail \
|
||||||
--include \
|
--include \
|
||||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||||
--upload-file "$path" \
|
--upload-file "$path" \
|
||||||
$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
$url
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue