Skip to content

Publish package

Publish package #1

Workflow file for this run

name: Publish package
on:
release:
types: [created]
workflow_dispatch:
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Build package
run: poetry build
- name: Publish to PyPI
run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}