Skip to content

test: Update tests for 9d1a81b and 1dde28a (the poller now always loo… #248

test: Update tests for 9d1a81b and 1dde28a (the poller now always loo…

test: Update tests for 9d1a81b and 1dde28a (the poller now always loo… #248

Workflow file for this run

name: Publish to PyPI
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- run: pip install --upgrade setuptools wheel
- run: python setup.py sdist bdist_wheel
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}