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
I'm trying to publish a kotlin multplatform library using the following guide with the 0.30.0 plugin version. I'm using Gradle 8.10.2, Kotlin 2.1.0-Beta1, AGP 8.7.0 which are listed as compatible in 0.30.0 release notes. The gradle config I'm using.
However, when launched from github actions, the build fails with the following error:
Failed to stop service 'sonatype-repository-build-service'.
> Cannot query the value of this property because it has no value available.
The issue is likely happening because of incorrect PGP configuration, as most people with similar error pinpoint. But I still have no idea how to fix this and how to debug which step is going wrong. The GPG version on the github runner is 2.4.5.1.
I do the following:
generate the key with gpg --full-gen-key
1 - RSA and RSA
length: 4096
valid: 5y (i've tried unexpiring keys as well)
comment:
confirm 'O'
enter a passphrase
gpg --keyserver keyserver.ubuntu.com --send-keys <MY_KEY_ID>, where <MY_KEY_ID> is the created public key ID. Also, I additionally push to it keys.openpgp.org server as well
gpg --keyserver hkp://keyserver.ubuntu.com --search-key <[email protected]> to confirm that the key is listed there
I'm trying to publish a kotlin multplatform library using the following guide with the 0.30.0 plugin version. I'm using Gradle 8.10.2, Kotlin 2.1.0-Beta1, AGP 8.7.0 which are listed as compatible in 0.30.0 release notes. The gradle config I'm using.
However, when launched from github actions, the build fails with the following error:
The issue is likely happening because of incorrect PGP configuration, as most people with similar error pinpoint. But I still have no idea how to fix this and how to debug which step is going wrong. The GPG version on the github runner is 2.4.5.1.
I do the following:
gpg --full-gen-key
gpg --keyserver keyserver.ubuntu.com --send-keys <MY_KEY_ID>
, where<MY_KEY_ID>
is the created public key ID. Also, I additionally push to itkeys.openpgp.org
server as wellgpg --keyserver hkp://keyserver.ubuntu.com --search-key <[email protected]>
to confirm that the key is listed theregpg --armor --export-secret-keys <MY_KEY_ID> | pbcopy
-----BEGIN PGP PRIVATE KEY BLOCK-----
and ends with-----END PGP PRIVATE KEY BLOCK-----
<MY_KEY_ID_LAST_8_CHARS>
Where, on what step could it be going wrong?
The text was updated successfully, but these errors were encountered: