Deploy Python Client #7
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: Deploy Python Client | |
on: | |
workflow_dispatch: | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
jobs: | |
publish-package: | |
environment: Clients | |
name: Publish Python Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- name: Publish to PyPI | |
run: | | |
cd clients/python | |
poetry publish -u __token__ -p $PYPI_TOKEN --build |