chore: bump setuptools from 69.0.3 to 70.0.0 (#183) #212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |