Skip to content
name: Build for TESTPyPI
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
if: github.event.release.target_commitish == 'testpypi'
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.TEST_PYPI_TOKEN }}
repository_name: "testpypi"
repository_url: "https://test.pypi.org/legacy/"
plugins: "poetry-dynamic-versioning[plugin]"