File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 44 sign-publication :
55 description : " Whether to sign the built library"
66 default : ' 1'
7+ gpg-key :
8+ required : false
9+ description : " The GPG key to use when signing the publication"
10+ gpg-password :
11+ required : false
12+ description : " Password for the GPG key."
713
814runs :
915 using : " composite"
3339 if : ${{ inputs.sign-publication == '1' }}
3440 run : |
3541 cd android
36- ./gradlew build publishAllPublicationsToHereRepository -PgpgKey=${{ secrets.GPG_PRIVATE_KEY }} -PgpgPassword=${{ secrets.GPG_PASSWORD }}
42+ ./gradlew build publishAllPublicationsToHereRepository -PgpgKey=${{ inputs.gpg-key }} -PgpgPassword=${{ inputs.gpg-password }}
3743 ls -lh build/outputs/aar
3844 find build/repository
3945
Original file line number Diff line number Diff line change 4242 submodules : true
4343 - name : Build Android
4444 uses : ./.github/actions/android
45+ with :
46+ gpg-key : ${{ secrets.GPG_PRIVATE_KEY }}
47+ gpg-password : ${{ secrets.GPG_PASSWORD }}
4548
4649 publish_android :
4750 permissions :
You can’t perform that action at this time.
0 commit comments