Skip to content

Commit 8d130cd

Browse files
committed
try to fix pypi publishing
1 parent 8e96f8d commit 8d130cd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ jobs:
105105
name: Upload wheels to PyPI
106106
needs: [linux-x86-wheels, linux-aarch-wheels, osx-wheels, windows-wheels]
107107
runs-on: ubuntu-latest
108+
environment:
109+
name: pypi
110+
url: https://pypi.org/p/kmedoids
111+
permissions:
112+
id-token: write
108113
steps:
109114
- name: Collect artifacts
110115
uses: actions/download-artifact@v3
@@ -117,8 +122,6 @@ jobs:
117122
- name: Publish to PyPI
118123
uses: pypa/gh-action-pypi-publish@release/v1
119124
with:
120-
user: __token__
121-
password: ${{ secrets.PYPI_TOKEN }}
122125
packages_dir: wheels/
123126
skip_existing: true
124127
verbose: true

0 commit comments

Comments
 (0)