Skip to content

Release Python Client to PYPI #20

Release Python Client to PYPI

Release Python Client to PYPI #20

name: Release Python Client to PYPI
on:
workflow_dispatch: {}
jobs:
run-python-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: ./.github/actions/setup-go-cache
with:
cache-prefix: run-python-tests
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: '23.3'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/workflows/python-tests
with:
python-version: '3.8'
tox-env: 'py38'
path: 'client/python'
github-token: ${{secrets.GITHUB_TOKEN}}
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: client/python/dist/