Skip to content

v0.1.0-beta.11

v0.1.0-beta.11 #21

Workflow file for this run

name: Publish to PyPI
on:
release:
types:
- published
jobs:
publish:
name: Publish to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install build dependencies
working-directory: CLI
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build the package
working-directory: CLI
run: python -m build
- name: Publish to PyPI
working-directory: CLI
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*