Skip to content

v0.6.0

v0.6.0 #10

Workflow file for this run

name: Upload to PyPI
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: "Installs dependencies"
run: |
python -m pip install --upgrade pip
python -m pip install build twine
- name: "Builds and uploads to PyPI"
run: |
python -m build
python -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}