Skip to content

Commit

Permalink
try new pub strat (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty authored Sep 12, 2024
1 parent 873b660 commit cd324d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
working-directory: ./py
run: |
poetry build
poetry publish -r https://test.pypi.org/legacy/ --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }}
poetry config repositories.testpypi https://test.pypi.org/legacy
poetry publish -r testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }}
- name: Build and publish to PyPI
if: github.event_name == 'workflow_dispatch' # Publish to real PyPI only on manual trigger
Expand Down

0 comments on commit cd324d4

Please sign in to comment.