Skip to content

VERSION: updated to 2.2.7 #23

VERSION: updated to 2.2.7

VERSION: updated to 2.2.7 #23

name: Publish Python 🐍 distributions πŸ“¦ to PyPI (and TestPyPI)
on:
push:
tags:
- 'v*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Poetry
uses: Gr1N/setup-poetry@v9
- name: Install build dependencies
run: poetry install
- name: Build a source tarball
run: poetry build
- name: Publish distribution πŸ“¦ to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}