Skip to content

Commit 1a16c54

Browse files
Chris1221claude
andauthored
ci: enable PyPI trusted publishing and add build dependency (#24)
Uncomments the pypa/gh-action-pypi-publish step now that OIDC trusted publishing can be configured on PyPI. Adds the build package as a PyPI dependency so `pixi run python -m build` works. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cc307d1 commit 1a16c54

3 files changed

Lines changed: 30 additions & 4 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,5 @@ jobs:
3131
- name: Build package
3232
run: pixi run python -m build
3333

34-
# Pypi key needed, not yet set up
35-
# - name: Publish package to PyPI
36-
# uses: pypa/gh-action-pypi-publish@release/v1
34+
- name: Publish package to PyPI
35+
uses: pypa/gh-action-pypi-publish@release/v1

pixi.lock

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ platforms = ["linux-64", "osx-64", "osx-arm64"]
3030

3131
[tool.pixi.pypi-dependencies]
3232
yamldoc = { path = ".", editable = true }
33+
build = "*"
3334

3435
[tool.pixi.dependencies]
3536
python = ">=3.8"

0 commit comments

Comments
 (0)