File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,18 +15,13 @@ jobs:
1515 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1616 with :
1717 persist-credentials : false
18- - name : Set up Python
19- uses : actions /setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
18+ - name : Install uv
19+ uses : astral-sh /setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
2020 with :
21- python-version : " 3.x"
22- - name : Install pypa/build
23- run : >-
24- python3 -m
25- pip install
26- build
27- --user
21+ enable-cache : true
22+ python-version : " 3.13"
2823 - name : Build a binary wheel and a source tarball
29- run : python3 -m build
24+ run : uv build
3025 - name : Store the distribution packages
3126 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
3227 with :
5146 with :
5247 name : python-package-distributions
5348 path : dist/
49+ - name : Install uv
50+ uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
5451 - name : Publish distribution 📦 to PyPI
55- uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
52+ run : uv publish
5653
5754 github-release :
5855 name : >-
You can’t perform that action at this time.
0 commit comments