Skip to content

Commit 28c7210

Browse files
switch over to pypi-publish action
1 parent bde2b9e commit 28c7210

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ jobs:
4242
exit 1
4343
fi
4444
45-
- name: Build and Publish to PyPI
46-
run: |
47-
uv build --wheel --clear
48-
VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
49-
WHEEL=$(find dist -maxdepth 1 -name "*-${VERSION}-*.whl" -print | head -n 1)
50-
uv publish --trusted-publishing always "$WHEEL"
45+
- name: Build wheel
46+
run: uv build --wheel --clear
47+
48+
- name: Publish to PyPI
49+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)