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

This commit is contained in:
Neale Pickett 2024-01-04 20:58:32 -07:00
parent aba631e69a
commit b1118e3894
1 changed files with 1 additions and 7 deletions

View File

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