fix(ci): use Forgejo-native variables in release workflow
Some checks failed
CI / PHP 8.3 (push) Failing after 3s
CI / PHP 8.4 (push) Failing after 3s

Replace github.server_url/GITHUB_REF_NAME with explicit forge URL
and GITEA_REF_NAME/GITEA_OUTPUT.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-02-27 17:13:20 +00:00
parent be2504341d
commit 71780373c3

View file

@ -14,7 +14,7 @@ jobs:
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
run: echo "VERSION=${GITEA_REF_NAME#v}" >> "$GITEA_OUTPUT"
- name: Create package archive
run: |
@ -39,4 +39,4 @@ jobs:
run: |
curl --fail --user "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_TOKEN }}" \
--upload-file package.zip \
"${{ github.server_url }}/api/packages/core/composer?version=${{ steps.version.outputs.VERSION }}"
"https://forge.lthn.ai/api/packages/core/composer?version=${{ steps.version.outputs.VERSION }}"