Closed cpovirk closed 1 month ago
I updated the Auto Sonatype secret to use my user token after doing the same for Truth. It was kind of a pain, but I think it's done.
That leaves only Javadoc. I may report progress on a similar problem with Truth for that, too.
I have a fix out for the Truth Javadoc problem, and it looks like the same fix will work here.
Javadoc is fixed.
Sonatype snapshots are not fixed. I assume that I don't personally have the necessary permissions to publish for auto. We'll need someone who does have permissions to follow the instructions above.
In short, we need a username and password in https://github.com/google/auto/settings/secrets/actions that come from a Sonatype owner's User Token (rather than a "plain" username and password). There's a chance that those are already in your .m2/settings.xml, or you can get them by following https://central.sonatype.org/publish/generate-token/. (And then put them in your .m2/settings.xml while you have them handy, since you'll likely need them for publishing "real" releases in the future.)
Thanks for the detailed instructions! I've done that, and it looks like the Publish Snapshot action is working now.
Oh, nice, I'd forgotten that you can manually trigger reruns!
Sonatype
That appears to have started with https://github.com/google/auto/commit/98c8ec71ca1693e96b3497f0c32a3801fbd281cd, but I assume it's a result of some credentials expiring or being regenerated or having access cut off. I reported a similar problem recently with Guava as internal bug 360518509, and it turned out to be simple to fix
Javadoc
(Or at least I'm guessing that that's the problem.)
That appears to have started with either https://github.com/google/auto/commit/8a9bd4f927a6449dc3fbe5883c00908d6c344c51 or https://github.com/google/auto/commit/a161323372bbfdcb7af491c92ed9b1f1a87ee92e. It's hard to be sure which because the submission of the one cancelled the CI for the other.