Skip to content

2.4.1 (#236)

2.4.1 (#236) #21

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- 'v*.*.*'
env:
GITHUB_RELEASE: True
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel poetry
- name: Build and publish
run: |
poetry build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}