Publish releases on GitHub and Gitea
Some checks failed
Test / test (push) Failing after 18s
Release / Check Version (push) Failing after 16s
Release / Build Extensions (push) Has been skipped

This commit is contained in:
2026-09-19 22:15:51 +08:00
parent 66381436cf
commit 51d8aa37a6
2 changed files with 10 additions and 1 deletions

View File

@@ -68,7 +68,14 @@ jobs:
fi
done
- name: Publish release
- name: Publish GitHub release
if: github.server_url == 'https://github.com'
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "$GITHUB_REF_NAME" dist/*.zip --verify-tag --generate-notes
- name: Publish Gitea release
if: github.server_url != 'https://github.com'
uses: https://gitea.com/actions/gitea-release-action@v1.3.6
with:
files: |-