mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
potential fix for cached jks
This commit is contained in:
parent
6744bb8d52
commit
5553d5c9cb
2 changed files with 14 additions and 23 deletions
6
.github/workflows/cache_dependencies.yml
vendored
6
.github/workflows/cache_dependencies.yml
vendored
|
@ -70,15 +70,11 @@ jobs:
|
||||||
source ./app_env.sh cakewallet
|
source ./app_env.sh cakewallet
|
||||||
./build_monero_all.sh
|
./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
|
- name: Cache Keystore
|
||||||
id: cache-keystore
|
id: cache-keystore
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ env.cache-file-path }}
|
path: /opt/android/cake_wallet/android/app
|
||||||
key: keystore
|
key: keystore
|
||||||
|
|
||||||
- if: ${{ steps.cache-keystore.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-keystore.outputs.cache-hit != 'true' }}
|
||||||
|
|
31
.github/workflows/pr_test_build_android.yml
vendored
31
.github/workflows/pr_test_build_android.yml
vendored
|
@ -61,6 +61,19 @@ jobs:
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt-get install -y curl unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake clang
|
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
|
- name: Execute Build and Setup Commands
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /opt/android
|
sudo mkdir -p /opt/android
|
||||||
|
@ -115,24 +128,6 @@ jobs:
|
||||||
cd /opt/android/cake_wallet/scripts/android/
|
cd /opt/android/cake_wallet/scripts/android/
|
||||||
./build_mwebd.sh --dont-install
|
./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
|
- name: Generate key properties
|
||||||
run: |
|
run: |
|
||||||
cd /opt/android/cake_wallet
|
cd /opt/android/cake_wallet
|
||||||
|
|
Loading…
Reference in a new issue