Skip to content

Commit d4bbad8

Browse files
author
Franz Király
authored
Release 0.5.0 - trusted publishing (#203)
Updating `wheels.yml` workflow to trusted publishing
1 parent bcb3d54 commit d4bbad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/wheels.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ jobs:
129129
name: Upload wheels to PyPI
130130
runs-on: ubuntu-latest
131131
needs: [build_wheels,test_unix_wheels,test_windows_wheels]
132+
permissions:
133+
id-token: write
132134

133135
steps:
134136
- uses: actions/download-artifact@v2
@@ -139,6 +141,4 @@ jobs:
139141
- name: Publish package to PyPI
140142
uses: pypa/gh-action-pypi-publish@release/v1
141143
with:
142-
user: ${{ secrets.PYPI_USERNAME }}
143-
password: ${{ secrets.PYPI_PASSWORD }}
144144
packages_dir: wheelhouse/

0 commit comments

Comments
 (0)