File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,14 @@ jobs:
13
13
test_android_jvm_linux :
14
14
runs-on : ubuntu-latest
15
15
environment : testing
16
- container : mingc/android-build-box
17
16
env :
18
17
SPOTIFY_CLIENT_ID : ${{ secrets.SPOTIFY_CLIENT_ID }}
19
18
SPOTIFY_CLIENT_SECRET : ${{ secrets.SPOTIFY_CLIENT_SECRET }}
20
19
steps :
21
20
- name : Check out repo
22
21
uses : actions/checkout@v2
22
+ - name : Install curl
23
+ run : sudo apt-get install curl
23
24
- name : Test secret
24
25
run : echo "client id secret is $SPOTIFY_CLIENT_ID"
25
26
- name : Test android
Original file line number Diff line number Diff line change @@ -402,10 +402,13 @@ publishing {
402
402
}
403
403
404
404
signing {
405
- if (project.hasProperty(" signing.keyId" )
406
- && project.hasProperty(" signing.password" )
407
- && project.hasProperty(" signing.secretKeyRingFile" )
405
+ if (project.hasProperty(" signing_key_id" )
406
+ && project.hasProperty(" signing_key_password" )
408
407
) {
408
+ useInMemoryPgpKeys(
409
+ project.property(" signing_key_id" ) as ? String ,
410
+ project.property(" signing_key_password" ) as ? String
411
+ )
409
412
sign(publishing.publications)
410
413
}
411
414
}
@@ -527,10 +530,8 @@ fun PublishingExtension.registerPublishing() {
527
530
url = uri(if (version.toString().endsWith(" SNAPSHOT" )) snapshotsRepoUrl else releasesRepoUrl)
528
531
529
532
credentials {
530
- val nexusUsername: String? = System .getenv(" nexus.username" )
531
- ? : if (project.extra.has(" nexusUsername" )) project.extra[" nexusUsername" ] as ? String else null
532
- val nexusPassword: String? = System .getenv(" nexus.password" )
533
- ? : if (project.extra.has(" nexusPassword" )) project.extra[" nexusPassword" ] as ? String else null
533
+ val nexusUsername: String? by project
534
+ val nexusPassword: String? by project
534
535
username = nexusUsername
535
536
password = nexusPassword
536
537
}
You can’t perform that action at this time.
0 commit comments