Skip to content

Commit

Permalink
enable gpg signing for bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Mar 2, 2020
1 parent 55477fd commit a21cc23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- name: Publish to Bintray
run: ./gradlew -PbintrayUser=gschueler -PbintrayOrg=rundeck -PbintrayRepo=maven -PdryRun=false bintrayUpload
run: ./gradlew -PbintrayUser=gschueler -PbintrayOrg=rundeck -PbintrayRepo=maven -PdryRun=false bintrayUpload
env:
BINTRAY_TOKEN: ${{ secrets.BINTRAY_TOKEN }}
BINTRAY_USER: gschueler
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}

5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ subprojects{
// user = findProperty('ossUser') //OSS user token: mandatory
// password = System.getenv("OSS_PASSWORD") //OSS user password: mandatory
// }

gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = System.getenv('SIGNING_PASSWORD')
}
}
}
}
Expand Down

0 comments on commit a21cc23

Please sign in to comment.