Skip to content

lot's of simplifications #22

lot's of simplifications

lot's of simplifications #22

Workflow file for this run

name: Publish Python distributions to PyPI
on:
release:
types: [published]
push:
tags:
- '**'
workflow_dispatch:
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python 3.11
id: setup-python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Build a binary wheel and a source tarball
run: poetry build
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_KEY }}