Skip to content

Commit

Permalink
Set trusted publishing in pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Jan 15, 2025
1 parent 105d16a commit a601b01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
run: uv build

- name: Publish TestPyPI
run: uv publish --trusted-publishing always
run: uv publish
env:
UV_PUBLISH_URL: https://test.pypi.org/legacy/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
run: uv build

- name: Publish
run: uv publish --trusted-publishing always
run: uv publish
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ docs = [

[tool.uv]
package = true
trusted-publishing = "always"

[build-system]
requires = ["hatchling"]
Expand Down

0 comments on commit a601b01

Please sign in to comment.