There was an error while loading. Please reload this page.
2 parents 379c7fb + 7f5b253 commit 8def876Copy full SHA for 8def876
1 file changed
.github/workflows/wheels.yaml
@@ -68,6 +68,13 @@ jobs:
68
name: Publish wheels to PyPI
69
runs-on: ubuntu-latest
70
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
71
+
72
+ environment:
73
+ name: pypi
74
75
+ permissions:
76
+ id-token: write
77
78
steps:
79
- uses: actions/checkout@v4
80
@@ -78,9 +85,6 @@ jobs:
85
path: ./wheelhouse/
86
87
- name: Publish wheels to PyPI
81
-
82
88
uses: pypa/gh-action-pypi-publish@release/v1
83
89
with:
84
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
90
packages-dir: ./wheelhouse/
0 commit comments