mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 12:43:39 +08:00
re-add testpypi publish step (#2991)
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -81,14 +81,13 @@ jobs:
|
|||||||
# rejected by pypi (e.g "3 - Beta"). This would cause a failure during the
|
# rejected by pypi (e.g "3 - Beta"). This would cause a failure during the
|
||||||
# middle of the package upload causing the action to fail, and certain packages
|
# middle of the package upload causing the action to fail, and certain packages
|
||||||
# might have already been updated, this would be bad.
|
# might have already been updated, this would be bad.
|
||||||
# EDIT: 5/31/2024 - TestPypi now requires a verified email. Commenting out as a temporary measure
|
|
||||||
# until we found TestPypi credentials.
|
- name: Publish to TestPyPI
|
||||||
# - name: Publish to TestPyPI
|
env:
|
||||||
# env:
|
TWINE_USERNAME: '__token__'
|
||||||
# TWINE_USERNAME: '__token__'
|
TWINE_PASSWORD: ${{ secrets.test_pypi_token }}
|
||||||
# TWINE_PASSWORD: ${{ secrets.test_pypi_token }}
|
run: |
|
||||||
# run: |
|
twine upload --repository testpypi --skip-existing --verbose dist/*
|
||||||
# twine upload --repository testpypi --skip-existing --verbose dist/*
|
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user