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:
661
661
needs : [test-builds-arch, test-builds-os, build-sdist, check]
662
662
if : always() && startsWith(github.ref, 'refs/tags/')
663
663
runs-on : ubuntu-latest
664
- environment : release
664
+
665
+ environment :
666
+ name : release
665
667
666
668
permissions :
667
669
id-token : write
668
670
669
671
steps :
670
672
- uses : actions/checkout@v4
671
673
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
676
675
677
676
- run : pip install -U twine
678
677
679
678
- name : check package version
680
- run : python .github/check_version.py
679
+ run : uv run .github/check_version.py
681
680
682
681
- name : get dist artifacts
683
682
uses : actions/download-artifact@v4
@@ -686,12 +685,7 @@ jobs:
686
685
merge-multiple : true
687
686
path : dist
688
687
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
695
689
696
690
- name : get wasm dist artifacts
697
691
uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments