From 742103e30596c33e3f4df6d05f9c26bdb65adee3 Mon Sep 17 00:00:00 2001 From: Hiddify <114227601+hiddify1@users.noreply.github.com> Date: Sun, 20 Aug 2023 13:58:04 +0000 Subject: [PATCH] new: add cache for speed up build process --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f6ae312..2e87b2d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,10 +59,15 @@ jobs: uses: actions/checkout@v3 - name: Cache Flutter dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.pub-cache + ~/.gradle/caches + ~/.gradle/wrapper + ~/.npm + ~/.cache + ~/go/pkg/mod key: ${{ runner.os }}-pub-cache-${{ hashFiles('**/pubspec.lock') }} restore-keys: | ${{ runner.os }}-pub-cache-