Merge pull request #203 from patrikspiess/main #20
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: 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@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
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 |