-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
153 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,8 @@ jobs: | |
# with: | ||
# name: MediaPipe-Screenshots | ||
# path: applications/screenshots/adb/ | ||
- name: cleanup keystore | ||
run: ./signing/cleanup.sh | ||
Check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
|
@@ -65,8 +67,14 @@ jobs: | |
java-version: 1.8 | ||
- name: Install Android SDK | ||
uses: malinskiy/action-android/install-sdk@release/0.1.0 | ||
- name: Decrypt keystore | ||
run: ./signing/decrypt.sh | ||
env: | ||
CRYPT_PASS: ${{ secrets.CRYPT_PASS }} | ||
- name: Code checks | ||
run: ./gradlew check | ||
- name: cleanup keystore | ||
run: ./signing/cleanup.sh | ||
- name: Archive Lint report | ||
uses: actions/[email protected] | ||
if: ${{ always() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ build | |
captures | ||
.externalNativeBuild | ||
.cxx | ||
|
||
*.keystore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
find . -name '*.keystore' |xargs rm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
pwd | ||
|
||
if [[ -z "$CRYPT_PASS" ]] | ||
then | ||
read -sp 'Password: ' CRYPT_PASS | ||
if [[ -z "$CRYPT_PASS" ]] | ||
then | ||
echo "\$CRYPT_PASS Still empty" | ||
exit 1 | ||
fi | ||
else | ||
echo "\$CRYPT_PASS available" | ||
fi | ||
|
||
pushd signing | ||
|
||
# to encrypt | ||
#openssl aes-256-cbc -a -salt -k "$CRYPT_PASS" -in release.keystore -out release.keystore.enc | ||
|
||
# Ubuntu 18.04 (openssl 1.1.0g+) needs -md md5 | ||
# https://askubuntu.com/questions/1067762/unable-to-decrypt-text-files-with-openssl-on-ubuntu-18-04/1076708 | ||
openssl aes-256-cbc -a -d -md md5 -k "$CRYPT_PASS" -in release.keystore.enc -out release.keystore | ||
|
||
popd 1>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
U2FsdGVkX19m4xKlexyJ628fHsOMqPPEyTqUzYmYG1ORUhA/Tu4a07bHlaaGW4Ve | ||
DhddCllbQFN6o3Zc1VhrNrPQB9FJg/aTBbsPEBK++uxveqDWKESlPei9eN5FCtQ+ | ||
spWYG1Gy0lVjTnHCdlnImleUy+5wElS/+2Q/jAMg3I+H/Rb2SSVW9B/k28nQUtxs | ||
4OZqt7CubNOw6yo4kbhNk87wgPS3ZcbRb6YHWwruKtXN4JaH73LvsMaYZTPk04Fm | ||
2dhDvY7l+CtlEGQ1ck1GeP7ly6MgYVfZSDEUEowjc54iWd2512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