File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -519,6 +519,13 @@ jobs:
519519
520520 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
521521
522+ environment :
523+ name : pypi
524+ url : https://pypi.org/p/rawpy
525+
526+ permissions :
527+ id-token : write
528+
522529 steps :
523530 - name : Download wheels from artifact storage
524531 uses : actions/download-artifact@v4
@@ -530,10 +537,8 @@ jobs:
530537 - name : Setup Python
531538 uses : actions/setup-python@v5
532539
533- - name : Upload wheels to PyPI
534- run : |
535- pip install twine
536- twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} --skip-existing dist/*
540+ - name : Publish package distributions to PyPI
541+ uses : pypa/gh-action-pypi-publish@release/v1
537542
538543 publish-docs :
539544 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments