Skip to content

fix polling mode pyright type error (#78) #10

fix polling mode pyright type error (#78)

fix polling mode pyright type error (#78) #10

Workflow file for this run

name: Python SDK Publish
on:
push:
branches: [master]
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*