Skip to content

Commit

Permalink
mobile/ci: Mobile Release job GPG import fix
Browse files Browse the repository at this point in the history
The `gpg --import` command does not take in the `--default-key` option.

Signed-off-by: Ali Beyad <abeyad@google.com>
  • Loading branch information
abeyad committed May 31, 2024
1 parent 6beef50 commit a446824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mobile-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
# `--pinentry-mode=loopback` could be needed to ensure we
# suppress the gpg prompt
echo $GPG_KEY | base64 --decode > signing-key
gpg --default-key $GPG_DEFAULT_KEY --passphrase $GPG_PASSPHRASE --batch --import signing-key
gpg --passphrase $GPG_PASSPHRASE --batch --import signing-key
shred signing-key
gpg --default-key $GPG_DEFAULT_KEY --pinentry-mode=loopback --passphrase $GPG_PASSPHRASE -ab ${{ matrix.output }}.aar
Expand Down

0 comments on commit a446824

Please sign in to comment.