Release v0.3.5 #161
Workflow file for this run
This file contains 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.org | |
on: | |
release: | |
types: [published] | |
jobs: | |
pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel twine | |
- name: Publish core package | |
run: | | |
cd core | |
python setup.py sdist | |
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} | |
- name: Publish client package | |
run: | | |
cd client | |
python setup.py sdist | |
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} | |
- name: Publish server package | |
run: | | |
cd server | |
python setup.py sdist | |
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} |