Skip to content

Global client connection (#391) #42

Global client connection (#391)

Global client connection (#391) #42

name: Build and publish python package
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Build wheel
run: pip install build && python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: ./client/dist