Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Feb 8, 2024
1 parent 93b7f8e commit eec6566
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,22 +107,20 @@ jobs:
with:
secret-ids: |
prod/PyPI/apiToken,arn:aws:secretsmanager:us-east-1:637423224110:secret:prod/PyPI/apiToken-W2a9ny
prod/PyPI/credentials,arn:aws:secretsmanager:us-east-1:637423224110:secret:prod/PyPI/credentials-JAzHsX
test/PyPI/apiToken,arn:aws:secretsmanager:us-east-1:637423224110:secret:test/PyPI/apiToken-z5iqc6
test/PyPI/credentials,arn:aws:secretsmanager:us-east-1:637423224110:secret:test/PyPI/credentials-bCQfg9
# The step below publishes to testpypi in order to catch any issues
# with the package configuration that would cause a failure to upload to pypi.
- name: Publish to TestPyPI
env:
TWINE_USERNAME: ${{ steps.pypi_secrets.outputs.test/PyPI/apiToken }}
TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.test/PyPI/credentials }}
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.test/PyPI/apiToken }}
run: |
twine upload --repository testpypi --skip-existing --verbose dist/aws_opentelemetry_distro-${{ steps.wheel_build.outputs.ADOT_PYTHON_VERSION }}-py3-none-any.whl
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ steps.pypi_secrets.outputs.prod/PyPI/apiToken }}
TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.prod/PyPI/credentials }}
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.prod/PyPI/apiToken }}
run: |
twine upload --skip-existing --verbose dist/aws_opentelemetry_distro-${{ steps.wheel_build.outputs.ADOT_PYTHON_VERSION }}-py3-none-any.whl

0 comments on commit eec6566

Please sign in to comment.