diff --git a/.github/workflows/python-lib.yaml b/.github/workflows/python-lib.yaml index 2327a67..d65f7e5 100644 --- a/.github/workflows/python-lib.yaml +++ b/.github/workflows/python-lib.yaml @@ -46,7 +46,7 @@ jobs: - name: Build artifacts run: python -m build - name: Push to PyPi - run: python3 -m twine upload --verbose --repository testpypi dist/* + run: python3 -m twine upload --verbose --repository-url https://test.pypi.org/legacy/ --username $TWINE_USERNAME --password $TWINE_PASSWORD dist/* env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}