Replies: 1 comment 2 replies
-
the default expiration time is currently 30min. what expiration time would you need in your case? as an alternative: it would be possible to build the token exchange directly into https://github.com/katyo/publish-crates, so that you don't have to use rust-lang/crates-io-auth-action at all. if the former detects that it's getting close to the 30min timeout it could theoretically revoke the current token and request a new one. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As shared in rust-lang/crates-io-auth-action#51.
Trusted publishing is great, but the default token expiration time is too short for a large workspace to release.
Like our repo: https://github.com/lancedb/lance, we have many crates to release:
And it's also impossible for us to fetch a new token per crate. Can we make the token expiration time longer? Or at least make it last as long as the job is running?
Beta Was this translation helpful? Give feedback.
All reactions