File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -123,14 +123,19 @@ jobs:
123123 run : |
124124 ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "platforms;android-33" "build-tools;34.0.0"
125125
126- - name : Configure Gradle properties
126+ - name : Import GPG key file
127127 run : |
128128 mkdir -p ~/.gradle
129+ echo "${{ secrets.RELEASE_GPG_SECRING_BASE_64 }}" | base64 --decode > ~/.gradle/secring.gpg
130+
131+ - name : Configure Gradle properties
132+ run : |
129133 cat <<EOF >> ~/.gradle/gradle.properties
130134 mavenCentralUsername=${{ secrets.MAVENCENTRAL_USERNAME }}
131135 mavenCentralPassword=${{ secrets.MAVENCENTRAL_PASSWORD }}
132136 signing.password=${{ secrets.RELEASE_GPG_PRIVATE_KEY_PASSPHRASE }}
133- signing.key=${{ secrets.RELEASE_GPG_PRIVATE_KEY }}
137+ signing.keyId=${{ secrets.RELEASE_GPG_KEY_ID }}
138+ signing.secretKeyRingFile=/home/runner/.gradle/secring.gpg
134139 EOF
135140
136141 - name : Release
You can’t perform that action at this time.
0 commit comments