pulumi / pulumi-std

Standard library functions implemented as a native Pulumi provider to be consumed from all Pulumi supported languages
Apache License 2.0
2 stars 2 forks source link

Switch to API Token for PyPi uploads #36

Closed justinvp closed 6 months ago

justinvp commented 6 months ago

Username/Password authentication is no longer supported. This PR migrates to using API Tokens per https://pypi.org/help/#apitoken. We use __token__ for the username and the org-wide PYPI_API_TOKEN secret for the password.

Reference:

justinvp commented 6 months ago

This will need the same lint fix as in https://github.com/pulumi/pulumi-std/pull/35

dixler commented 6 months ago

This will need the same lint fix as in #35

I upgraded to actions/checkout@v4 and it did not alleviate the error I was facing. I tried adding set-safe-directory: true on top of it and that did not work either. I'm going to leave it as it is.

https://github.com/pulumi/pulumi-std/pull/35#discussion_r1441897473