Skip to content

Commit

Permalink
build: setting secrets in setup-java action
Browse files Browse the repository at this point in the history
  • Loading branch information
janniclas committed Oct 23, 2024
1 parent 9e34d72 commit c9cbd94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
java-version: '21'
server-id: 'ossrh' # must match the serverId configured for the nexus-staging-maven-plugin
server-username: ORG_GRADLE_PROJECT_OSSRHUsername # Env var that holds your OSSRH user name
server-password: ORG_GRADLE_PROJECT_OSSRHPassword # Env var that holds your OSSRH user pw
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY_JN }} # Substituted with the value stored in the referenced secret
gpg-passphrase: ORG_GRADLE_PROJECT_signingPassword # Env var that holds the key's passphrase
- name: Setup Gradle
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4

Expand Down

0 comments on commit c9cbd94

Please sign in to comment.