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 4
4
sign-publication :
5
5
description : " Whether to sign the built library"
6
6
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."
7
13
8
14
runs :
9
15
using : " composite"
33
39
if : ${{ inputs.sign-publication == '1' }}
34
40
run : |
35
41
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 }}
37
43
ls -lh build/outputs/aar
38
44
find build/repository
39
45
Original file line number Diff line number Diff line change 42
42
submodules : true
43
43
- name : Build Android
44
44
uses : ./.github/actions/android
45
+ with :
46
+ gpg-key : ${{ secrets.GPG_PRIVATE_KEY }}
47
+ gpg-password : ${{ secrets.GPG_PASSWORD }}
45
48
46
49
publish_android :
47
50
permissions :
You can’t perform that action at this time.
0 commit comments