Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ jobs:
# but only if all build jobs completed successfully
needs: [build_wheels, build_arch_wheels, build_sdist]
runs-on: ubuntu-latest
environment:
name: publish-to-pypi
url: https://pypi.org/p/pyclipper
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing.

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -176,7 +181,4 @@ jobs:
draft: false
prerelease: ${{ env.IS_PRERELEASE }}

- uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}
- uses: pypa/gh-action-pypi-publish@v1.13.0
Loading