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

This commit is contained in:
Neale Pickett 2024-01-04 20:44:07 -07:00
parent d663929fd1
commit aba631e69a
1 changed files with 6 additions and 1 deletions

View File

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