Merge pull request #161 from patrikspiess/main #17
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@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 |