File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 9292 id : pypi_secrets
9393 with :
9494 secret-ids : |
95+ PROD_PYPI_TOKEN,${{ secrets.PYPI_PROD_TOKEN_SECRET_ARN }}
9596 TEST_PYPI_TOKEN,${{ secrets.PYPI_TEST_TOKEN_SECRET_ARN }}
9697 parse-json-secrets : true
9798
@@ -106,3 +107,11 @@ jobs:
106107 TWINE_PASSWORD : ${{ env.TEST_PYPI_TOKEN_API_TOKEN }}
107108 run : |
108109 twine upload --repository testpypi --skip-existing --verbose exporters/aws-otel-otlp-udp-exporter/dist/${{ env.ARTIFACT_NAME }}
110+
111+ # Publish to prod PyPI
112+ - name : Publish to PyPI
113+ env :
114+ TWINE_USERNAME : ' __token__'
115+ TWINE_PASSWORD : ${{ env.PROD_PYPI_TOKEN_API_TOKEN }}
116+ run : |
117+ twine upload --skip-existing --verbose exporters/aws-otel-otlp-udp-exporter/dist/${{ env.ARTIFACT_NAME }}
You can’t perform that action at this time.
0 commit comments