new: add cache for speed up build process

This commit is contained in:
Hiddify
2023-08-20 13:58:04 +00:00
parent c26143abf1
commit 742103e305

View File

@@ -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-