File tree Expand file tree Collapse file tree 3 files changed +9
-24
lines changed
Expand file tree Collapse file tree 3 files changed +9
-24
lines changed Original file line number Diff line number Diff line change @@ -24,39 +24,24 @@ jobs:
2424 - name : Check out repository
2525 uses : actions/checkout@v6
2626
27- - name : Set up Python
28- uses : actions/setup-python@v6
29- with :
30- python-version : 3.13
31- cache : pip
32- cache-dependency-path : |
33- **/pyproject.toml
34- **/requirements*.txt
35-
36- - name : Prepare Python env
37- run : |
38- python -m pip install -U pip setuptools wheel
27+ - name : Install uv
28+ uses : astral-sh/setup-uv@v7
3929
4030 - name : Create build info
4131 run : |
4232 bash scripts/build-info.sh
4333
44- - name : Build package sdist
45- run : |
46- cd packages/${{ matrix.package }}
47- python setup.py sdist
48-
49- - name : Build package bdist (wheel)
34+ - name : Build distribution packages
5035 run : |
51- cd packages/ ${{ matrix.package }}
52- python setup.py bdist_wheel
36+ uv build --package ${{ matrix.package }}
37+ ls -lah dist/
5338
5439 - name : Publish to PyPI
5540 uses : pypa/gh-action-pypi-publish@release/v1
5641 with :
5742 user : __token__
5843 password : ${{ secrets.PYPI_API_TOKEN }}
59- packages_dir : packages/${{ matrix.package }} /dist
44+ packages_dir : . /dist
6045 print_hash : true
6146 verbose : true
6247 skip_existing : true
6550 uses : shogo82148/actions-upload-release-asset@v1
6651 with :
6752 upload_url : ${{ github.event.release.upload_url }}
68- asset_path : packages/${{ matrix.package }} /dist/*
53+ asset_path : . /dist/*
6954
7055 mail-translations :
7156 name : " Mail Template Translations"
Original file line number Diff line number Diff line change 11[project ]
22name = " engine-tools"
3- version = " 4.27.0rc1 "
3+ version = " 4.27.0 "
44description = " Python tools for DSW Engine"
55readme = " README.md"
66requires-python = " >=3.12"
You can’t perform that action at this time.
0 commit comments