Skip to content

Merge pull request #151 from bundesAPI/fix-link #211

Merge pull request #151 from bundesAPI/fix-link

Merge pull request #151 from bundesAPI/fix-link #211

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7.13]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Build and publish to pypi
if: startsWith(github.ref, 'refs/tags')
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}