diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 390f0aa09..79a64c73d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,7 +33,7 @@ jobs: flutter-version: "3.0.5" channel: "stable" cache: true - cache-key: deps-${{ hashFiles('pubspec.lock') }} # optional, change this to force refresh cache + cache-key: deps-${{ hashFiles('**/pubspec.lock') }} # optional, change this to force refresh cache cache-path: ${{ runner.tool_cache }}/flutter # optional, change this to specify the cache path - name: Setup Android environment diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b8b429ae9..69d6783e9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,7 @@ jobs: flutter-version: "3.0.5" channel: "stable" cache: true - cache-key: deps-${{ hashFiles('pubspec.lock') }} # optional, change this to force refresh cache + cache-key: deps-${{ hashFiles('**/pubspec.lock') }} # optional, change this to force refresh cache cache-path: ${{ runner.tool_cache }}/flutter # optional, change this to specify the cache path - name: Setup Android environment