There was an error while loading. Please reload this page.
1 parent 7f2ba54 commit 53a1ecbCopy full SHA for 53a1ecb
1 file changed
.github/workflows/python-package.yml
@@ -168,6 +168,11 @@ jobs:
168
name: upload wheels to PyPI
169
runs-on: ubuntu-latest
170
needs: [build_wheels_linux, build_wheels_macos]
171
+ environment:
172
+ name: pypi
173
+ url: https://pypi.org/p/pymaat
174
+ permissions:
175
+ id-token: write
176
strategy:
177
matrix:
178
# The os names must match the ones in the build_wheels job
@@ -182,8 +187,5 @@ jobs:
182
187
path: ${{ matrix.os }}-wheels/
183
188
184
189
- name: "Upload wheels"
185
- uses: pypa/gh-action-pypi-publish@v1.13.0
186
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
- packages_dir: ${{ matrix.os }}-wheels/
190
+ uses: pypa/gh-action-pypi-publish@release/v1
191
+ packages-dir: ${{ matrix.os }}-wheels/
0 commit comments