From 8c15dfc985aaa265c748b041265ebb62444e585f 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 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9baed7e..f638bf0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,16 +16,21 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }} - uses: asdf-vm/actions/install@v3 + - name: Set path to pub-cache binaries + run: echo $GITHUB_PATH:$HOME/.pub-cache/bin >> $GITHUB_PATH - name: Cache flutter dependencies 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 flutter pub global activate pana - + - name: DEBUG + run: ls - name: Verify Pub Score run: ./tool/verify_pub_score.sh