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 22
22
- name : Build with Gradle
23
23
run : ./gradlew publish
24
24
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 {
116
116
val snapshotsRepoUrl = " https://repo.bluecolored.de/snapshots"
117
117
url = uri(if (version == lastVersion) releasesRepoUrl else snapshotsRepoUrl)
118
118
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 " )
122
122
}
123
123
}
124
124
}
You can’t perform that action at this time.
0 commit comments