From 03a64896995c44f39bdd6ab6b500b1346a01e837 Mon Sep 17 00:00:00 2001 From: Quoc Huynh Date: Tue, 21 Nov 2023 14:28:59 +0100 Subject: [PATCH] Fix pana job --- .github/workflows/main.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9baed7e..db00a5f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,12 +20,14 @@ jobs: uses: actions/cache@v3 id: flutter_cache with: - path: .dart_tool/ + path: | + .dart_tool/ + ~/.pub-cache/ key: ${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }} - name: Install Dependencies run: | flutter pub get + echo $GITHUB_PATH:$HOME/.pub-cache/bin >> $GITHUB_PATH flutter pub global activate pana - - name: Verify Pub Score run: ./tool/verify_pub_score.sh