fix(setup): correct description + metadata #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish to PyPI | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| build-and-publish: | |
| runs-on: ubuntu-latest | |
| # no extra env | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # полный clone для тегов | |
| # no submodules needed | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install build deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build # pep517/518 builder | |
| - name: Build sdist & wheel (sub-project reghelp_client) | |
| # Собираем пакет из подпапки reghelp_client и кладём артефакты в ../dist | |
| run: python -m build reghelp_client -o dist | |
| - name: Publish to PyPI | |
| uses: pypa/gh-action-pypi-publish@v1.8.8 | |
| with: | |
| password: ${{ secrets.PYPI_API_TOKEN }} | |
| skip-existing: true | |
| packages-dir: dist |