Skip to content

Commit

Permalink
attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeur7 committed Nov 27, 2024
1 parent 5b9217b commit 5d3a00e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/sdk_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
publish:
runs-on: ubuntu-latest
env:
sonatype_passphrase: ${{ secrets.SONATYPE_PASSPHRASE }}
sonatype_secret_key: ${{ secrets.SONATYPE_SECRET_KEY }}
sonatype_password: ${{ secrets.SONATYPE_PASSWORD }}
sonatype_username: ${{ secrets.SONATYPE_USERNAME }}
JRELEASER_GPG_PASSPHRASE: ${{ secrets.SONATYPE_PASSPHRASE }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.SONATYPE_SECRET_KEY }}
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions build-extras.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ jreleaser {
active = 'ALWAYS'
armored = true
verify = false
passphrase = System.getenv("SONATYPE_PASSPHRASE")
secretKey = System.getenv("SONATYPE_SECRET_KEY")
passphrase = System.getenv("JRELEASER_GPG_PASSPHRASE")
secretKey = System.getenv("JRELEASER_GPG_SECRET_KEY")
}
deploy {
maven {
mavenCentral {
sonatype {
active = 'ALWAYS'
url = 'https://central.sonatype.com/api/v1/publisher'
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
username = System.getenv("JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_USERNAME")
password = System.getenv("JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_PASSWORD")
stagingRepository('target/staging-deploy')
}
}
Expand Down

0 comments on commit 5d3a00e

Please sign in to comment.