Currently all my builds fail as follows: ```FAILUR...
# kotest-contributors
a
Currently all my builds fail as follows:
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
Could not read PGP secret key
> secret key ring doesn't start with secret key tag
what am I doing wrong?
a
I think this would be because of the Dev Publish plugin
gratitude thank you 1
a
sorry this was a vague question. they fail when I push to github, like here: https://github.com/kotest/kotest/actions/runs/10059742561/job/27805797649?pr=3965
a
hmmmmmm very interesting
can you either try removing
cache-encryption-key: ${{ secrets.GRADLE_CONFIGURATION_CACHE_ENCRYPTION_KEY }}
, or generate a key and define it
tl;dr: run
openssl rand -base64 16
gratitude thank you 1
a
👀
a
hey Alex, did you find out if adding GRADLE_CONFIGURATION_CACHE_ENCRYPTION_KEY helped?
I'm thinking about raising an issue for the Gradle GitHub Action. I think it should warn if the CC key is empty, but not fail the workflow.
Hmmm a PR from a contributor is failing with the same error https://github.com/kotest/kotest/actions/runs/10080307107/job/27869828584?pr=4211
s
yeah I 'm also undergoing this issue right now
gpg is too error prone
a
@Adam S I did not make it work so far. But I created another branch in kotest itself, squashed my PR into it, and that worked.
a
Should be fixed by https://github.com/kotest/kotest/pull/4233, please let me know if this or anything else doesn't work
👀 1