Fixes PyPi Repo
This commit is contained in:
6
.github/workflows/python-pypi-upload.yml
vendored
6
.github/workflows/python-pypi-upload.yml
vendored
@@ -31,8 +31,8 @@ jobs:
|
|||||||
if [ -f pyproject.toml ]; then poetry install; fi
|
if [ -f pyproject.toml ]; then poetry install; fi
|
||||||
- name: Configure PyPI
|
- name: Configure PyPI
|
||||||
run: |
|
run: |
|
||||||
poetry config repositories.test-pypi https://test.pypi.org/legacy/
|
poetry config repositories.pypi https://pypi.org/legacy/
|
||||||
poetry config pypi-token.test-pypi ${{secrets.PYPI_TOKEN}}
|
poetry config pypi-token.pypi ${{secrets.PYPI_TOKEN}}
|
||||||
- name: Build Python Package
|
- name: Build Python Package
|
||||||
run: |
|
run: |
|
||||||
poetry build -f sdist
|
poetry build -f sdist
|
||||||
@@ -43,6 +43,4 @@ jobs:
|
|||||||
poetry run python -m unittest
|
poetry run python -m unittest
|
||||||
- name: Upload Python Package
|
- name: Upload Python Package
|
||||||
run: |
|
run: |
|
||||||
poetry config repositories.test-pypi https://test.pypi.org/legacy/
|
|
||||||
poetry config pypi-token.test-pypi ${{secrets.PYPI_TOKEN}}
|
|
||||||
poetry publish --repository test-pypi
|
poetry publish --repository test-pypi
|
||||||
|
|||||||
Reference in New Issue
Block a user