This repository was archived by the owner on Jul 22, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 build-n-publish :
10- name : Use PDM to Build and publish Python 🐍 distributions 📦 to PyPI
10+ name : Use uv to Build and publish Python 🐍 distributions 📦 to PyPI
1111 runs-on : ubuntu-latest
1212
1313 permissions :
2020 with :
2121 submodules : true
2222
23- - name : Setup PDM
24- uses : pdm-project/setup-pdm@v3
23+ - name : Install uv
24+ uses : astral-sh/setup-uv@v5
25+
26+ - name : ' Set up Python'
27+ uses : actions/setup-python@v5
28+ with :
29+ python-version-file : ' pyproject.toml'
2530
2631 - name : Build and Publish distribution 📦 to PyPI
27- run : pdm publish
32+ run : |
33+ uv build
34+ uv publish
Original file line number Diff line number Diff line change @@ -17,13 +17,9 @@ license = { text = "MIT" }
1717[project .urls ]
1818homepage = " https://github.com/lgc-NB2Dev/nonebot-plugin-autoreply"
1919
20- [tool .pdm .build ]
21- includes = []
20+ [build-system ]
21+ requires = [" hatchling" ]
22+ build-backend = " hatchling.build"
2223
23- [tool .pdm .version ]
24- source = " file"
24+ [tool .hatch .version ]
2525path = " nonebot_plugin_autoreply/__init__.py"
26-
27- [build-system ]
28- requires = [" pdm-backend" ]
29- build-backend = " pdm.backend"
You can’t perform that action at this time.
0 commit comments