try to publish artifacts
Mockband / build (push) Successful in 16s Details

This commit is contained in:
Neale Pickett 2024-01-04 21:25:07 -07:00
parent af0c088401
commit 1b884c7fe8
1 changed files with 2 additions and 4 deletions

View File

@ -7,13 +7,11 @@ 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
set
echo "=== $fn"
curl \
--fail \
--include \
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
--upload-file "$path" \
$url
$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
done