Skip to content

v0.0.9

v0.0.9 #8

Workflow file for this run

name: Publish to PyPI
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
pip-options: '--upgrade setuptools wheel'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools
pip install build
pip install twine
- name: Build and publish
run: |
python -m build
python -m twine upload -r pypi dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}