#1 : Publish generic package to gitea
Core Build (push) / self-test (push) Successful in 10s

+ permissions fixed
This commit is contained in:
2026-09-27 19:48:46 +03:00
parent 85927f45ba
commit c660eca23f
2 changed files with 3 additions and 5 deletions
+1 -5
View File
@@ -19,11 +19,7 @@ runs:
using: composite
steps:
- shell: bash
env:
GITEA_URL: ${{ gitea.server_url }}
BASE_URL: ${{ inputs.base_url }}
run: |
base_url="${BASE_URL:-$GITEA_URL}"
curl -H "Authorization: token ${{ gitea.token}}" \
--upload-file ${{ inputs.file }} \
"${base_url}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"
"${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"