Skip to content

Commit

Permalink
Merge branch 'main' into CW-854-Monero-Wallet-Group-Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarHatem28 authored Dec 10, 2024
2 parents 1dde9f1 + 5553d5c commit cb10b3b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cache_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,11 @@ jobs:
source ./app_env.sh cakewallet
./build_monero_all.sh
- name: Set up cache path
id: cache-path
run: echo "cache-file-path=/opt/android/cake_wallet/android/app/key.jks" >> $GITHUB_ENV

- name: Cache Keystore
id: cache-keystore
uses: actions/cache@v3
with:
path: ${{ env.cache-file-path }}
path: /opt/android/cake_wallet/android/app
key: keystore

- if: ${{ steps.cache-keystore.outputs.cache-hit != 'true' }}
Expand Down
31 changes: 13 additions & 18 deletions .github/workflows/pr_test_build_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ jobs:
sudo apt update
sudo apt-get install -y curl unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake clang
- name: Cache Keystore
id: cache-keystore
uses: actions/cache@v3
with:
path: /opt/android/cake_wallet/android/app
key: keystore

- if: ${{ steps.cache-keystore.outputs.cache-hit != 'true' }}
name: Generate KeyStore
run: |
cd /opt/android/cake_wallet/android/app
keytool -genkey -v -keystore key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias testKey -noprompt -dname "CN=CakeWallet, OU=CakeWallet, O=CakeWallet, L=Florida, S=America, C=USA" -storepass $STORE_PASS -keypass $KEY_PASS
- name: Execute Build and Setup Commands
run: |
sudo mkdir -p /opt/android
Expand Down Expand Up @@ -115,24 +128,6 @@ jobs:
cd /opt/android/cake_wallet/scripts/android/
./build_mwebd.sh --dont-install
- name: Set up cache path
id: cache-path
run: echo "cache-file-path=/opt/android/cake_wallet/android/app/key.jks" >> $GITHUB_ENV

- name: Cache Keystore
id: cache-keystore
uses: actions/cache@v3
with:
path: ${{ env.cache-file-path }}
key: keystore

- if: ${{ steps.cache-keystore.outputs.cache-hit != 'true' }}
name: Generate KeyStore
run: |
cd /opt/android/cake_wallet/android/app
keytool -genkey -v -keystore key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias testKey -noprompt -dname "CN=CakeWallet, OU=CakeWallet, O=CakeWallet, L=Florida, S=America, C=USA" -storepass $STORE_PASS -keypass $KEY_PASS
- name: Generate key properties
run: |
cd /opt/android/cake_wallet
Expand Down

0 comments on commit cb10b3b

Please sign in to comment.