fix(ci): use Forgejo-native variables in release workflow
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:
parent
7b6a6539f1
commit
03ffec1221
1 changed files with 2 additions and 2 deletions
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue