File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,12 +47,17 @@ https://www.microsoft.com/en-gb/download/details.aspx?id=48145
4747
48481 . Export your gpg private key from the system that you have created it.
4949 1 . Find your key-id (using ` gpg --list-secret-keys --keyid-format=long ` )
50- 2 . Export the gpg secret key to an ASCII file using ` gpg --export-secret-keys -a <key-id> > secret.txt `
51- 3 . Edit ` secret.txt ` using a plain text editor, and replace all newlines with a literal "\n" until everything is on a single line
52- 2 . Set up [ GitHub Actions secrets] ( https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets )
50+ 2 . Put the GPG id into a variable ` OSSRH_GPG_SECRET_KEY_ID `
51+ 3 . Export the gpg secret key to an ASCII file using ` gpg --export-secret-keys -a <key-id> > secret.txt `
52+ 4 . Edit ` secret.txt ` using a plain text editor, and replace all newlines with a literal "\n" until everything is on a single line
53+ 2 . Set up [ GitHub Actions secrets] ( https://github.com/organizations/CommonWealthRobotics/settings/secrets/actions )
5354 1 . Create a secret called ` OSSRH_GPG_SECRET_KEY ` using the text from your edited ` secret.txt ` file (the whole text should be in a single line)
5455 2 . Create a secret called ` OSSRH_GPG_SECRET_KEY_PASSWORD ` containing the password for your gpg secret key
55- 3 . Create a GitHub Actions step to install the gpg secret key
56+ 3 . Add Maven Credentials
57+ 1 . In ~ /gradle.properties, osshUsername ` MAVEN_USERNAME `
58+ 2 . In ~ /gradle.properties, osshPassword ` MAVEN_PASSWORD `
59+
60+ 5 . Create a GitHub Actions step to install the gpg secret key
5661 1 . Add an action similar to:
5762 ``` yaml
5863 - id : install-secret-key
You can’t perform that action at this time.
0 commit comments