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 @@ -661,6 +661,10 @@ jobs:
661661 needs : [test-builds-arch, test-builds-os, build-sdist, check]
662662 if : success() && startsWith(github.ref, 'refs/tags/')
663663 runs-on : ubuntu-latest
664+ environment : release
665+
666+ permissions :
667+ id-token : write
664668
665669 steps :
666670 - uses : actions/checkout@v4
@@ -684,11 +688,10 @@ jobs:
684688
685689 - run : twine check --strict dist/*
686690
687- - name : upload to pypi
688- run : twine upload dist/*
689- env :
690- TWINE_USERNAME : __token__
691- TWINE_PASSWORD : ${{ secrets.pypi_token }}
691+ - name : Publish to PyPI
692+ uses : pypa/gh-action-pypi-publish@v1
693+ with :
694+ skip-existing : true
692695
693696 - name : get wasm dist artifacts
694697 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments