Skip to content

Commit

Permalink
trial 2
Browse files Browse the repository at this point in the history
  • Loading branch information
joelkanyi committed Mar 26, 2024
1 parent c49f387 commit ca67727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ on:
# release:
# types: [ released ]

env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
GPG_KEY: ${{ secrets.GPG_KEY }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions sain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ mavenPublishing {
nmcp {
publishAllPublications {
// get from ~/.gradle/gradle.properties (HOME/.gradle/gradle.properties)
username = (properties["mavenCentralUsername"] ?: System.getenv("MAVEN_CENTRAL_USERNAME")).toString()
password = (properties["mavenCentralPassword"] ?: System.getenv("MAVEN_CENTRAL_PASSWORD")).toString()
username = System.getenv("MAVEN_CENTRAL_USERNAME")
password = System.getenv("MAVEN_CENTRAL_PASSWORD")
publicationType = "AUTOMATIC"
}
}

0 comments on commit ca67727

Please sign in to comment.