Skip to content

Upload

Upload #91

Workflow file for this run

name: Upload
on:
workflow_run:
workflows: [ "Tests" ]
types:
- completed
push:
branches: [ trunk ]
defaults:
run:
shell: bash
jobs:
upload:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
python-version: [ "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Setup the Python Environment ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Upload to PyPi
run: poetry publish -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}