mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
Cache Generated Externals to Improve the runtime of the workflow
This commit is contained in:
parent
501e62829b
commit
ecc556e4e3
1 changed files with 18 additions and 0 deletions
18
.github/workflows/pr_test_build.yml
vendored
18
.github/workflows/pr_test_build.yml
vendored
|
@ -34,6 +34,24 @@ jobs:
|
||||||
./install_ndk.sh
|
./install_ndk.sh
|
||||||
source ./app_env.sh cakewallet
|
source ./app_env.sh cakewallet
|
||||||
./app_config.sh
|
./app_config.sh
|
||||||
|
|
||||||
|
- name: Cache Externals
|
||||||
|
id: cache-externals
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
/opt/android/cake_wallet/cw_haven/android/.cxx
|
||||||
|
/opt/android/cake_wallet/cw_haven/ios/External
|
||||||
|
/opt/android/cake_wallet/cw_monero/android/.cxx
|
||||||
|
/opt/android/cake_wallet/cw_haven/ios/External
|
||||||
|
/opt/android/cake_wallet/cw_shared_external/ios/External
|
||||||
|
key: externals-cache-key
|
||||||
|
|
||||||
|
- if: ${{ steps.cache-externals.outputs.cache-hit != 'true' }}
|
||||||
|
name: Generate Externals
|
||||||
|
run: |
|
||||||
|
cd cake_wallet/scripts/android/
|
||||||
|
source ./app_env.sh cakewallet
|
||||||
./build_all.sh
|
./build_all.sh
|
||||||
./copy_monero_deps.sh
|
./copy_monero_deps.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue