From ee156d64f2c309c0dddd86110e625966ed1f8ddc Mon Sep 17 00:00:00 2001 From: axi92 Date: Mon, 26 Aug 2024 14:34:51 +0200 Subject: [PATCH] build: enable gradle cache --- .github/workflows/android.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 6e417eb..a3786ee 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -23,9 +23,19 @@ jobs: uses: actions/setup-node@v4 with: node-version: '22' + cache: 'yarn' - run: | - corepack yarn + which corepack + corepack enable cd example && yarn install + - name: Cache Gradle + uses: actions/cache@v4 + with: + path: | + .gradle + example/android/.gradle + key: gradle + - name: Build android example app run: yarn build:android