Skip to content

Merge pull request #145 from openfoodfacts/release-please--branches--… #6

Merge pull request #145 from openfoodfacts/release-please--branches--…

Merge pull request #145 from openfoodfacts/release-please--branches--… #6

Workflow file for this run

name: Publish PyPI package
on:
push:
tags:
- v*.*.*
jobs:
push_to_pypi:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: 3.9
- uses: abatilo/[email protected]
with:
poetry-version: 1.5.1
- name: Run poetry build
run: poetry build
- name: Run poetry publish
run: POETRY_PYPI_TOKEN_PYPI=${{ secrets.PYPI_TOKEN }} poetry publish