From c65bcfb9b14168f28b05cd90828331140c6736a9 Mon Sep 17 00:00:00 2001 From: Dan Haman Date: Sun, 27 Sep 2026 20:30:36 +0300 Subject: [PATCH] #1 : Publish generic package to gitea + more test --- publish/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/publish/action.yaml b/publish/action.yaml index c26b0bb..40d6f7f 100644 --- a/publish/action.yaml +++ b/publish/action.yaml @@ -19,8 +19,11 @@ runs: using: composite steps: - shell: bash + env: + GITEA_TOKEN: ${{ secrets.ACTI_BOT_TOKEN }} run: | + test -n "$GITEA_TOKEN" curl -i --fail-with-body \ - --user "acti-bot:${{ secrets.ACTI_BOT_TOKEN }}" \ + --user "acti-bot:${GITEA_TOKEN}" \ --upload-file ${{ inputs.file }} \ "${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"