From 2c132d5bc708b996164ff65a59c1d9cbb3a77ad8 Mon Sep 17 00:00:00 2001 From: Kolyah35 Date: Tue, 17 Mar 2026 21:59:19 +0300 Subject: [PATCH] cache ndk to avoid downloading and extracting :v --- .github/workflows/android.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a3750dc..da04c30 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -13,14 +13,23 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Cache Android NDK r14b + id: ndk-cache + uses: actions/cache@v4 + with: + path: C:\android-ndk-r14b + key: android-ndk-r14b + - name: Download Android NDK r14b + if: steps.ndk-cache.outputs.cache-hit != 'true' shell: powershell run: | Invoke-WebRequest ` -Uri "http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip" ` -OutFile "ndk.zip" - - name: Extract NDK + - name: Extract Android NDK + if: steps.ndk-cache.outputs.cache-hit != 'true' shell: powershell run: | Expand-Archive ndk.zip C:\