Skip to content

v2.18.0 🌈

v2.18.0 🌈 #71

Workflow file for this run

# This workflow will upload a Python Package using poetry when a release is created
name: Upload Python Package
on:
release:
types: [created, edited]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Build and publish
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD