Skip to content

Merge pull request #173 from patrikspiess/main #18

Merge pull request #173 from patrikspiess/main

Merge pull request #173 from patrikspiess/main #18

name: Publish fotoobo distributions 📦 to PyPI
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build-n-publish-to-pypi:
name: Build and publish fotoobo distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Configure API token
run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
- name: Build and then publish fotoobo to PyPI
run: poetry publish --build