File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -661,23 +661,22 @@ jobs:
661661 needs : [test-builds-arch, test-builds-os, build-sdist, check]
662662 if : always() && startsWith(github.ref, 'refs/tags/')
663663 runs-on : ubuntu-latest
664- environment : release
664+
665+ environment :
666+ name : release
665667
666668 permissions :
667669 id-token : write
668670
669671 steps :
670672 - uses : actions/checkout@v4
671673
672- - name : set up python
673- uses : actions/setup-python@v5
674- with :
675- python-version : ' 3.13'
674+ - uses : astral-sh/setup-uv@v6
676675
677676 - run : pip install -U twine
678677
679678 - name : check package version
680- run : python .github/check_version.py
679+ run : uv run .github/check_version.py
681680
682681 - name : get dist artifacts
683682 uses : actions/download-artifact@v4
@@ -686,12 +685,7 @@ jobs:
686685 merge-multiple : true
687686 path : dist
688687
689- - run : twine check --strict dist/*
690-
691- - name : Publish to PyPI
692- uses : pypa/gh-action-pypi-publish@release/v1
693- with :
694- skip-existing : true
688+ - run : uv publish --trusted-publishing always
695689
696690 - name : get wasm dist artifacts
697691 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments