fix: release workflow token
Build and Publish / release (push) Successful in 16s
CI / lint (pull_request) Successful in 56s
CI / test (3.11) (pull_request) Successful in 25s
CI / test (3.12) (pull_request) Successful in 26s
CI / test (3.13) (push) Successful in 54s
CI / lint (push) Successful in 47s
CI / test (3.13) (pull_request) Successful in 45s
CI / test (3.11) (push) Successful in 1m14s
CI / test (3.12) (push) Successful in 1m15s
Build and Publish / release (push) Successful in 16s
CI / lint (pull_request) Successful in 56s
CI / test (3.11) (pull_request) Successful in 25s
CI / test (3.12) (pull_request) Successful in 26s
CI / test (3.13) (push) Successful in 54s
CI / lint (push) Successful in 47s
CI / test (3.13) (pull_request) Successful in 45s
CI / test (3.11) (push) Successful in 1m14s
CI / test (3.12) (push) Successful in 1m15s
This commit was merged in pull request #14.
This commit is contained in:
@@ -20,6 +20,7 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.ref_name }}
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
@@ -66,7 +67,7 @@ jobs:
|
||||
env:
|
||||
TWINE_USERNAME: "__token__"
|
||||
TWINE_PASSWORD: ${{ secrets.MX_GITEA_BOT_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.MX_GITEA_BOT_TOKEN }}
|
||||
MX_GITEA_BOT_TOKEN: ${{ secrets.MX_GITEA_BOT_TOKEN }}
|
||||
run: |
|
||||
pip install python-semantic-release==9.* wheel build twine
|
||||
semantic-release --config ./ci/semantic_release.toml version
|
||||
|
||||
@@ -28,9 +28,7 @@ default_bump_level = 0
|
||||
[tool.semantic_release.remote]
|
||||
type = "gitea"
|
||||
domain = "gitea.psi.ch"
|
||||
|
||||
[tool.semantic_release.remote.token]
|
||||
env = "GITEA_TOKEN"
|
||||
token = { env = "MX_GITEA_BOT_TOKEN" }
|
||||
|
||||
[tool.semantic_release.publish]
|
||||
dist_glob_patterns = ["dist/*"]
|
||||
|
||||
Reference in New Issue
Block a user