Skip to content

Merge branch 'release/2024.4.0b2' #18

Merge branch 'release/2024.4.0b2'

Merge branch 'release/2024.4.0b2' #18

Workflow file for this run

name: Release Python package
on:
push:
tags:
- "[0-9][0-9][0-9][0-9].[0-9][0-9]?.[0-9]+[ab]?[0-9]?[0-9]?[0-9]?[0-9]?"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install platform dependencies
run: sudo apt-get install -y libpq-dev
- name: Checkout
uses: actions/checkout@v3
- name: Setup Poetry
run: python -m pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: poetry
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Configure Pypi publication
run: poetry config pypi-token.pypi $PYPI_TOKEN
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- name: Publish package
run: poetry publish