Use package token for registry publishing [skip ci]

This commit is contained in:
2026-08-14 15:20:31 +08:00
parent 2de606c27d
commit f6111c9715

View File

@@ -94,7 +94,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v') || inputs.publish_version != '' if: startsWith(github.ref, 'refs/tags/v') || inputs.publish_version != ''
shell: bash shell: bash
env: env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} GITEA_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
GITEA_SERVER_URL: ${{ github.server_url }} GITEA_SERVER_URL: ${{ github.server_url }}
GITEA_OWNER: ${{ github.repository_owner }} GITEA_OWNER: ${{ github.repository_owner }}
GITEA_REPOSITORY: ${{ github.repository }} GITEA_REPOSITORY: ${{ github.repository }}