Skip to content

chore: bump setuptools from 69.0.3 to 70.0.0 (#183) #212

chore: bump setuptools from 69.0.3 to 70.0.0 (#183)

chore: bump setuptools from 69.0.3 to 70.0.0 (#183) #212

name: Test release to PyPI
on:
push:
branches:
- main
# tags:
# - "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: abatilo/[email protected]
with:
poetry-version: 1.2.0
- run: poetry self add "poetry-dynamic-versioning[plugin]"
- run: poetry config repositories.test-pypi https://test.pypi.org/legacy/
- run: poetry config pypi-token.test-pypi ${{ secrets.PYPI_TEST_TOKEN }}
- run: poetry publish --build -r test-pypi
# Can't use this because of poetry-dynamic-versioning
# - name: Build and publish to pypi
# uses: JRubics/[email protected]
# with:
# pypi_token: ${{ secrets.PYPI_TOKEN }}