File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -662,6 +662,10 @@ jobs:
662662 needs : [test-builds-arch, test-builds-os, build-sdist, check]
663663 if : always() && startsWith(github.ref, 'refs/tags/')
664664 runs-on : ubuntu-latest
665+ environment : release
666+
667+ permissions :
668+ id-token : write
665669
666670 steps :
667671 - uses : actions/checkout@v4
@@ -685,11 +689,10 @@ jobs:
685689
686690 - run : twine check --strict dist/*
687691
688- - name : upload to pypi
689- run : twine upload dist/*
690- env :
691- TWINE_USERNAME : __token__
692- TWINE_PASSWORD : ${{ secrets.pypi_token }}
692+ - name : Publish to PyPI
693+ uses : pypa/gh-action-pypi-publish@v1
694+ with :
695+ skip-existing : true
693696
694697 - name : get wasm dist artifacts
695698 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments