File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 build-and-publish :
1010 runs-on : ubuntu-latest
11- defaults :
12- run :
13- working-directory : reghelp_client
1411 steps :
1512 - uses : actions/checkout@v4
1613 with :
1714 fetch-depth : 0 # полный clone для тегов
18- # no submodules needed
1915
2016 - name : Set up Python
2117 uses : actions/setup-python@v4
@@ -25,19 +21,21 @@ jobs:
2521 - name : Clean previous builds
2622 run : |
2723 # Удаляем старые артефакты предыдущих сборок
28- rm -rf dist build *.egg-info
24+ rm -rf reghelp_client/ dist reghelp_client/ build reghelp_client/ *.egg-info
2925
3026 - name : Install build deps
3127 run : |
3228 python -m pip install --upgrade pip
33- pip install build setuptools_scm[toml] twine
29+ pip install build twine
3430
3531 - name : Build sdist & wheel
3632 run : |
33+ cd reghelp_client
3734 python -m build
3835
3936 - name : Validate distribution with twine
4037 run : |
38+ cd reghelp_client
4139 twine check dist/*
4240
4341 - name : Publish to PyPI
You can’t perform that action at this time.
0 commit comments