File tree Expand file tree Collapse file tree 1 file changed +12
-24
lines changed
Expand file tree Collapse file tree 1 file changed +12
-24
lines changed Original file line number Diff line number Diff line change @@ -11,41 +11,29 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515 with :
1616 fetch-depth : 0
1717
1818 - name : Set up Python
19- uses : actions/setup-python@v2
19+ uses : actions/setup-python@v5
2020 with :
21- python-version : " 3.10"
22- cache : pip
23- cache-dependency-path : |
24- setup.py
25- tox.ini
26- - name : Cache and install system deps for python-ldap
27- uses : awalsh128/cache-apt-pkgs-action@latest
21+ python-version : " 3.13"
22+
23+ - name : Install uv
24+ uses : astral-sh/setup-uv@v6
2825 with :
29- packages : libldap2-dev libsasl2-dev libssl-dev
30- version : 1.0 # bump this if you want to reset the cache
31- - name : Install system deps for python-ldap
32- run : |
33- sudo apt-get update
34- sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev
35- - name : Install dependencies
36- run : |
37- python -m pip install -U pip
38- python -m pip install -U setuptools twine wheel
26+ enable-cache : true
3927
4028 - name : Build package
41- run : |
42- python setup.py --version
43- python setup.py sdist --format=gztar bdist_wheel
44- twine check dist/*
29+ run : uv build
30+
31+ - name : Twine check
32+ run : uvx --from twine twine check dist/*
4533
4634 - name : Upload packages to Jazzband
4735 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
48- uses : pypa/gh-action-pypi-publish@master
36+ uses : pypa/gh-action-pypi-publish@release/v1
4937 with :
5038 user : jazzband
5139 password : ${{ secrets.JAZZBAND_RELEASE_KEY }}
You can’t perform that action at this time.
0 commit comments