Skip to content
# Should only run from the testpypi branch
name: Build for TESTPyPI
on:
release:
types: [published]
branches:
- testpypi
jobs:
build:
runs-on: ubuntu-latest
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]==1.1.1"