debug: Checking use of secrets

This commit is contained in:
Schalk Cronje 2021-05-03 18:57:18 +02:00 committed by Schalk W. Cronjé
parent e018475ecc
commit 0b92bdbf36
2 changed files with 3 additions and 3 deletions

View File

@ -168,7 +168,7 @@ jobs:
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
PUBLISH_SECRET: ${{ secrets.PUBLISH_SECRET }}
with:
arguments: -i --console=plain --no-build-cache assemble publishPlugins -Dgradle.publish.key=$PUBLISH_KEY -Dgradle.publish.secret=$PUBLISH_SECRET
arguments: -i --console=plain --no-build-cache assemble publishPlugins -Dgradle.publish.key=${{ secrets.PUBLISH_KEY }} -Dgradle.publish.secret=$PUBLISH_SECRET
- name: Publish documentation
uses: eskatos/gradle-command-action@v1
env:

View File

@ -94,8 +94,8 @@ subprojects {
}
publishPlugins.doFirst {
println "U: ${'*' * System.getProperty('gradle.publish.key').toInteger()}"
println "P: ${'*' * System.getProperty('gradle.publish.secret').toInteger()}"
println "U: ${'*' * System.getProperty('gradle.publish.key').size()}"
// println "P: ${'*' * System.getProperty('gradle.publish.secret').toInteger()}"
}
tasks.withType(Test) {