Skip to content

Commit

Permalink
Update android-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yangkx1024 authored Nov 27, 2023
1 parent dc7d099 commit bf57265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
signingSecret: ${{ secrets.GPG_SECRET }}
run: |
echo ${signingSecret} | base64 -di | gpg --dearmor > ./android/secret.gpg
echo -n "$signingSecret" | base64 --decode | gpg --dearmor > ./android/secret.gpg
- name: Android publish
env:
sonatypeUsername: ${{ secrets.SONATYPEUSERNAME }}
Expand All @@ -27,4 +27,4 @@ jobs:
echo signing.password=${signingPwd} >> local.properties
echo signing.secretKeyRingFile=secret.gpg >> local.properties
chmod +x gradlew
./gradlew publish
./gradlew publish

0 comments on commit bf57265

Please sign in to comment.