Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iTitus committed Feb 21, 2021
1 parent 835820c commit 844ff0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
- name: Publish to Maven Central
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_ossrh_staging_profile_id: ${{ secrets.OSSRH_STAGING_PROFILE_ID }}
ORG_GRADLE_PROJECT_ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signing_key: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signing_password: ${{ secrets.SIGNING_PASSWORD }}
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ signing {
nexusPublishing {
connectTimeout = clientTimeout = Duration.ofHours(1)
repositories {
sonatype {}
sonatype {
stagingProfileId = project.findProperty('ossrh_staging_profile_id')
username = project.findProperty('ossrh_username')
password = project.findProperty('ossrh_password')
}
}
}

0 comments on commit 844ff0f

Please sign in to comment.