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
f7d4ec4e84
commit
7408e2e1b0
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
|
|
||||||
- name: Extract version from tag
|
- name: Extract version from tag
|
||||||
id: version
|
id: version
|
||||||
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
|
run: echo "VERSION=${GITEA_REF_NAME#v}" >> "$GITEA_OUTPUT"
|
||||||
|
|
||||||
- name: Create package archive
|
- name: Create package archive
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -39,4 +39,4 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
curl --fail --user "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_TOKEN }}" \
|
curl --fail --user "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_TOKEN }}" \
|
||||||
--upload-file package.zip \
|
--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