You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* What went wrong:
Task 'sonatypeCentralUpload' not found in root project 'openapi'.
* Try:
> Run gradlew tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org./
BUILD FAILED in 8s
Error: Process completed with exit code 1.
Steps to Reproduce
Bootstrap a speakeasy project selecting Java SDK target.
Configure publishing. Follow the recommendation to use the maven sonatype central portal.
Issue: sdk-publish Action Fails for Java Artifacts with Sonatype Central Publishing
Description
The
sdk-publish
GitHub Action is failing when attempting to publish Java artifacts using the recommended Sonatype Central publishing option.Error
Sample failed run: https://github.com/vishalg0wda/petstore-java/actions/runs/11992517676/job/33432458157
Steps to Reproduce
Note:
I was able to successfully publish an SDK by setting
useSonatypeLegacy: true
in theworkflow.yaml
. See: https://github.com/vishalg0wda/petstore-java/actions/runs/11992712833The text was updated successfully, but these errors were encountered: