Github workflow fails to release the artifact to Maven Central.
The package fails to sign:
Execution failed for task ':red-and-blue:signMavenJavaPublication'.
> Cannot perform signing task ':red-and-blue:signMavenJavaPublication' because it has no configured signatory
GPG key is linked to my account, it just needs to pass to the action script so Gradle could consume it.
Currently, Gradle script uses file-based approach, which obviously is not portable to the cloud. Global gradle.properties refers to secring.gpg file:
Github workflow fails to release the artifact to Maven Central.
The package fails to sign:
GPG key is linked to my account, it just needs to pass to the action script so Gradle could consume it.
Currently, Gradle script uses file-based approach, which obviously is not portable to the cloud. Global
gradle.properties
refers tosecring.gpg
file:Should use memory-based technique and pass the keys as secrets.
This link can be helpful: https://github.com/vanniktech/gradle-maven-publish-plugin/issues/248