godaddy / compose-color-picker

Jetpack Compose Android Color Picker 🎨
MIT License
369 stars 23 forks source link

Fix publishing to MavenCentral #10

Closed JavierSegoviaCordoba closed 2 years ago

JavierSegoviaCordoba commented 2 years ago

Add next secrets:

env:
  OSS_USER: '${{ secrets.OSS_USER }}'
  OSS_TOKEN: '${{ secrets.OSS_TOKEN }}'
  OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}'
  SIGNING_KEY_NAME: '${{ secrets.SIGNING_KEY_NAME }}'
  SIGNING_KEY_ID: '${{ secrets.SIGNING_KEY_ID }}'
  SIGNING_KEY_PASSPHRASE: '${{ secrets.SIGNING_KEY_PASSPHRASE }}'
  SIGNING_KEY: '${{ secrets.SIGNING_KEY }}'

Docs about how to get them: https://github.com/JavierSegoviaCordoba/gradle-plugins/blob/main/.github/PUBLISHING.md

Tested on my own account: image

image

riggaroo commented 2 years ago

Hi @JavierSegoviaCordoba , thanks so much for helping to try fix this issue. Maven deployments and signing are tricky.

I was already in the process of fixing it yesterday, I switched to using the keyRingFile mechanism and it fixed it now publishing is working again 🎉 Sorry, I didn't realise someone would try fix this in the short time it was broken 🙈

It is all fixed now, so I don't think we need to merge this PR. Thanks anyway for your effort here, have a good week.