Skip to content

Commit

Permalink
chore: apply Trusted Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Sep 1, 2024
1 parent 7aadf9c commit 33a85e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
echo $VERSION
sed -i'' -E "s/version = \"0.0.0\"/version = \"$VERSION\"/g" pyproject.toml
uvx --from build pyproject-build --installer uv
- name: Release to PyPI
run: |
uvx twine upload dist/* --non-interactive \
--username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to PyPI
id: publish-pypi
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 33a85e2

Please sign in to comment.