From 695201e5af646e2495f9fcc5f3d2194e52a03d36 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Tue, 7 Jan 2025 16:50:55 +0100 Subject: [PATCH] symlink --- .github/workflows/pr_test_build_android.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_test_build_android.yml b/.github/workflows/pr_test_build_android.yml index 01bc8f2fb1..637991b330 100644 --- a/.github/workflows/pr_test_build_android.yml +++ b/.github/workflows/pr_test_build_android.yml @@ -146,10 +146,17 @@ jobs: ln -s "$MONEROC_CACHE_DIR_ROOT/moneroc-$MONEROC_HASH/monero_c" ./prepare_moneroc.sh popd - mkdir -p $MONEROC_CACHE_DIR_ROOT/{monero/,wownero/,}contrib/depends/built || true - ln -s "$PWD/contrib/depends/built" "$MONEROC_CACHE_DIR_ROOT/contrib/depends/built" || true - ln -s "$PWD/monero/contrib/depends/built" "$MONEROC_CACHE_DIR_ROOT/monero/contrib/depends/built" || true - ln -s "$PWD/wownero/contrib/depends/built" "$MONEROC_CACHE_DIR_ROOT/wownero/contrib/depends/built" || true + pushd scripts/monero_c + mkdir -p "$MONEROC_CACHE_DIR_ROOT/_cache/contrib/depends/built" + mkdir -p "$MONEROC_CACHE_DIR_ROOT/_cache/monero/contrib/depends/built" + mkdir -p "$MONEROC_CACHE_DIR_ROOT/_cache/wownero/contrib/depends/built" + + rm -rf "$PWD/contrib/depends/built" "$PWD/monero/contrib/depends/built" "$PWD/wownero/contrib/depends/built" + + ln -sf "$MONEROC_CACHE_DIR_ROOT/_cache/contrib/depends/built" "$PWD/contrib/depends/built" + ln -sf "$MONEROC_CACHE_DIR_ROOT/_cache/monero/contrib/depends/built" "$PWD/monero/contrib/depends/built" + ln -sf "$MONEROC_CACHE_DIR_ROOT/_cache/wownero/contrib/depends/built" "$PWD/wownero/contrib/depends/built" + popd - name: Generate KeyStore run: |