File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2222 - name : Build with Gradle
2323 run : ./gradlew publish
2424 env :
25- bluecoloredUsername : ${{ secrets.BLUECOLORED_USERNAME }}
26- bluecoloredPassword : ${{ secrets.BLUECOLORED_PASSWORD }}
25+ BLUECOLORED_USERNAME : ${{ secrets.BLUECOLORED_USERNAME }}
26+ BLUECOLORED_PASSWORD : ${{ secrets.BLUECOLORED_PASSWORD }}
Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ publishing {
116116 val snapshotsRepoUrl = " https://repo.bluecolored.de/snapshots"
117117 url = uri(if (version == lastVersion) releasesRepoUrl else snapshotsRepoUrl)
118118
119- credentials( PasswordCredentials :: class )
120- authentication {
121- create< BasicAuthentication >( " basic " )
119+ credentials {
120+ username = project.findProperty( " bluecoloredUsername " ) as String? ? : System .getenv( " BLUECOLORED_USERNAME " )
121+ password = project.findProperty( " bluecoloredPassword " ) as String? ? : System .getenv( " BLUECOLORED_PASSWORD " )
122122 }
123123 }
124124 }
You can’t perform that action at this time.
0 commit comments