Skip to content

bumps version to 0.5.0 #2

bumps version to 0.5.0

bumps version to 0.5.0 #2

Workflow file for this run

name: Publish on TestPyPI
on:
workflow_dispatch:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
continue-on-error: false
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: poetry
- name: Install
run: poetry install
- name: Test
run: poetry run pytest
- name: Publish to TestPyPI
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{ secrets.TEST_PYPI_TOKEN }}
poetry publish --build -r test-pypi