Skip to content

v0.1.24

v0.1.24 #25

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
branches: [main]
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
- name: Configure poetry
env:
pypi_token: ${{ secrets.PYPI_TOKEN }}
run: poetry config pypi-token.pypi $pypi_token
- name: Build and publish
run: poetry publish --build