Skip to content

Commit

Permalink
Use pypa/gh-action-pypi-publish@release/v1 for PyPI publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sukso96100 committed Oct 20, 2024
1 parent 0780cbd commit a164fc9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
defaults:
run:
shell: bash
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -54,5 +57,5 @@ jobs:
dist/*.whl
dist/*.tar.gz
- name: Publish to PyPI
run: uv publish
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit a164fc9

Please sign in to comment.