From 383b7ccaeba6d9a8f2810b0e901870e00d085350 Mon Sep 17 00:00:00 2001 From: Hans Date: Fri, 30 Aug 2024 20:11:11 +0800 Subject: [PATCH] chore: use ccache to speedup build --- .github/workflows/native.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 935954f..70934e5 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -5,6 +5,7 @@ on: - 'ios/**' - 'android/**' - 'cpp/**' + - '.github/workflows/native.yml' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -18,6 +19,8 @@ jobs: - uses: actions/setup-node@v3.6.0 with: node-version: 16.x + - name: Setup ccache + uses: hendrikmuhs/ccache-action@v1.2 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)"