From aba631e69abf97c6a2db8857ce03d7b3381a9b86 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 4 Jan 2024 20:44:07 -0700 Subject: [PATCH] try to publish artifacts --- .gitea/publish.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/publish.sh b/.gitea/publish.sh index b91c760..63efade 100755 --- a/.gitea/publish.sh +++ b/.gitea/publish.sh @@ -7,9 +7,14 @@ VERSION=$(date +%Y-%m-%dt%H.%M.%S) for path in "$@"; do fn=$(basename "$path") - curl \ + echo curl \ -v \ --user "$GITHUB_ACTOR:$GITHUB_TOKEN" \ --upload-file "$path" \ $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