Skip to content

Commit

Permalink
Fix GPG issue of Android publish script
Browse files Browse the repository at this point in the history
Change-Id: I9546d1cf96f5a7f4ba3de49c7e2d4478b1737c4c
  • Loading branch information
yangkx1024 committed Nov 27, 2023
1 parent c6d9081 commit dc7d099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/android-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish package
name: Publish Android package
on:
release:
types: [published]
Expand All @@ -12,8 +12,7 @@ jobs:
env:
signingSecret: ${{ secrets.GPG_SECRET }}
run: |
echo ${signingSecret} | gpg --import
echo ${signingSecret} | gpg --dearmor > ./android/secret.gpg
echo ${signingSecret} | base64 -di | gpg --dearmor > ./android/secret.gpg
- name: Android publish
env:
sonatypeUsername: ${{ secrets.SONATYPEUSERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish package
name: Publish Rust package
on:
release:
types: [published]
Expand Down

0 comments on commit dc7d099

Please sign in to comment.