diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 95cdf5f7e..a80908534 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -42,15 +42,15 @@ jobs: id: pypi_secrets with: secret-ids: | - prod/PyPI/apiToken,arn:aws:secretsmanager:us-east-1:637423224110:secret:prod/PyPI/apiToken-W2a9ny - test/PyPI/apiToken,arn:aws:secretsmanager:us-east-1:637423224110:secret:test/PyPI/apiToken-z5iqc6 + prod_PyPI_apiToken,arn:aws:secretsmanager:us-east-1:637423224110:secret:prod/PyPI/apiToken-W2a9ny + test_PyPI_apiToken,arn:aws:secretsmanager:us-east-1:637423224110:secret:test/PyPI/apiToken-z5iqc6 # 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: '__token__' - TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.test.PyPI.apiToken }} + TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.test_PyPI_apiToken }} run: | twine upload --repository testpypi --skip-existing --verbose dist/aws_opentelemetry_distro-${{ steps.create_release.outputs.ADOT_PYTHON_VERSION }}-py3-none-any.whl @@ -80,6 +80,6 @@ jobs: # - name: Publish to PyPI # env: # TWINE_USERNAME: '__token__' -# TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.prod/PyPI/apiToken }} +# TWINE_PASSWORD: ${{ steps.pypi_secrets.outputs.prod_PyPI_apiToken }} # run: | # twine upload --skip-existing --verbose dist/aws_opentelemetry_distro-${{ steps.create_release.outputs.ADOT_PYTHON_VERSION }}-py3-none-any.whl