Skip to content

v0.1.1

v0.1.1 #5

Workflow file for this run

name: PYPI Release
on:
release:
types: [published]
jobs:
pypi_release:
name: Builds Using Poetry and Publishes to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{github.event.release.tag_name}}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install venv
run: poetry install
- name: Configure Poetry For Publication
run: poetry config pypi-token.pypi "${{secrets.PYPI_API_KEY}}"
- name: Publish package
run: poetry publish --build