File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,23 +10,15 @@ jobs:
1010 deploy :
1111 needs : [test, lint]
1212 name : Deploy to PyPI
13+ runs-on : ubuntu-latest
1314 permissions :
1415 id-token : write
15- runs-on : ubuntu-latest
1616 steps :
17- - name : Checkout source
18- uses : actions/checkout@v4
19-
20- - name : Set up Python 3.11
21- uses : actions/setup-python@v5
17+ - uses : actions/checkout@v4
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v5
20+ - run : echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
21+ - run : uv build
22+ - uses : pypa/gh-action-pypi-publish@release/v1
2223 with :
23- python-version : 3.11
24- cache : ' pip' # caching pip dependencies
25- - name : Install build dependencies
26- run : python -m pip install build twine
27-
28- - name : Build distributions
29- run : python -m build
30-
31- - name : Publish package to PyPI
32- uses : pypa/gh-action-pypi-publish@release/v1
24+ packages-dir : ./dist
You can’t perform that action at this time.
0 commit comments