Skip to content

Publish to TestPyPI

Publish to TestPyPI #5

Workflow file for this run

name: Publish to TestPyPI
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: ${{matrix.python-version}}
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Publish package
uses: pypa/[email protected]
with:
user: __token__
password: ${{secrets.TESTPYPI_TOKEN}}
repository_url: https://test.pypi.org/legacy/