Skip to content

OpenPIV-Python v0.25.2 #102

OpenPIV-Python v0.25.2

OpenPIV-Python v0.25.2 #102

Workflow file for this run

name: Build and upload to PyPI
on:
release:
types: [published]
jobs:
build-and-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
strategy:
fail-fast: false
matrix:
python-version: [3.10]
poetry-version: [1.5.0]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4.5.0
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish --build