try https://test.pypi.org/simple/ #35
Workflow file for this run
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: Publish to PyPI | |
on: | |
push | |
env: | |
TOKEN: ${{ secrets.GH_TOKEN }} | |
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TEST_PYPI_TOKEN }} | |
jobs: | |
publish-to-pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry install | |
poetry self add poetry-exec-plugin | |
- name: publish new version to PyPI | |
run: | | |
rm -rf dist/ build/ | |
poetry exec bump-version # bump version in pyproject.toml | |
poetry publish --build --repository="https://test.pypi.org/simple/" -vvv # generate distribution package and upload to PyPI | |