The GitHub action for building the package is failing cause lack of p… #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |