🚸 添加发布工作流

This commit is contained in:
远野千束 2024-08-18 03:40:06 +08:00
parent 4b4f030fe3
commit 9d27abfe04
2 changed files with 4 additions and 3 deletions

View File

@ -23,4 +23,4 @@ jobs:
- uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI
run: pdm publish --repository testpypi
run: pdm publish --build --repository pypi

View File

@ -32,5 +32,6 @@ Repository = "https://github.com/LiteyukiStudio/LiteyukiBot"
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
packages = ["liteyuki"]
[tool.pdm.build]
includes = ["liteyuki/", "LICENSE", "README.md"]
excludes = ["tests/", "docs/", "src/"]