Skip to content

Commit 6593037

Browse files
committed
adding fixing env vars
Signed-off-by: salaboy <[email protected]>
1 parent 9998aca commit 6593037

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ jobs:
1515
timeout-minutes: 30
1616
env:
1717
JDK_VER: 11
18+
JRELEASER_GITHUB_TOKEN: $$ {{ secrets.GITHUB_TOKEN }}
1819
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_KEY }}
1920
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2021
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PWD }}
21-
JRELEASER_MAVENCENTRAL_SONATYPE_USERNAME: ${{ secrets.OSSRH_USER_TOKEN }}
22-
JRELEASER_MAVENCENTRAL_SONATYPE_TOKEN: ${{ secrets.OSSRH_PWD_TOKEN }}
22+
JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME: dapr.io
23+
JRELEASER_NEXUS2_MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_PWD_TOKEN }}
2324
steps:
2425
- uses: actions/checkout@v2
2526
- name: Set up JDK 11

client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ jreleaser {
226226
'maven-central' {
227227
active = 'ALWAYS'
228228
url = 'https://s01.oss.sonatype.org/service/local'
229-
snapshotUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots'
230229
closeRepository = true
231230
releaseRepository = true
231+
stagingRepository('target/staging-deploy')
232232
}
233233
}
234234
}

0 commit comments

Comments
 (0)