From 0aa024876e1a79499a8d68da840edf424e2ffa5f Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Sun, 14 Apr 2024 14:14:31 +0530 Subject: [PATCH] add gradle caching system --- .github/workflows/Android_Build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/Android_Build.yml b/.github/workflows/Android_Build.yml index 2a06a12c..11811f8b 100644 --- a/.github/workflows/Android_Build.yml +++ b/.github/workflows/Android_Build.yml @@ -23,6 +23,16 @@ jobs: - name: Fetch submodules run: git submodule update --init --recursive + - name: Set up gradle caches + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-pandroid-x86_64-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-pandroid-x86_64- + - name: Setup Vulkan SDK uses: humbletim/setup-vulkan-sdk@v1.2.0 with: @@ -78,6 +88,16 @@ jobs: - name: Fetch submodules run: git submodule update --init --recursive + - name: Set up gradle caches + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-pandroid-arm64-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-pandroid-arm64- + - name: Setup Vulkan SDK uses: humbletim/setup-vulkan-sdk@v1.2.0 with: