try to publish artifacts
Mockband / build (push) Failing after 15s Details

This commit is contained in:
Neale Pickett 2024-01-04 21:13:21 -07:00
parent b3cc1252e1
commit 29c7693114
1 changed files with 4 additions and 1 deletions

View File

@ -7,9 +7,12 @@ VERSION=$GITHUB_REF_NAME.$(date +%Y-%m-%dt%H.%M.%S)
for path in "$@"; do
fn=$(basename "$path")
url=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
echo $url
curl \
--fail \
--include \
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
--upload-file "$path" \
$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
$url
done