Skip to content

v1.3.5

v1.3.5 #49

Workflow file for this run

# This workflow will upload a Python Package using Poetry when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Publish Package
on:
release:
types: [published]
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: |
python3 -m pip install -U poetry
poetry install
- name: Publish package
run: poetry publish --build -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}