Skip to content

Commit

Permalink
Fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
quoc-huynh-cosee committed Nov 3, 2023
1 parent c89a083 commit a998fe9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/native_image_cropper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper/.dart_tool/
key: ${{ runner.os }}-dependencies-${{ hashFiles('**/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
Expand All @@ -33,6 +33,8 @@ jobs:
run: dart run dart_code_metrics:metrics analyze . --set-exit-on-violation-level=warning --disable-sunset-warning
- name: Run tests
run: flutter test
- name: Debug
run: ls -la

pana:
defaults:
Expand All @@ -47,7 +49,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper/.dart_tool/
key: ${{ runner.os }}-dependencies-${{ hashFiles('**/pubspec.lock') }}
- name: Install Dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_image_cropper_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_android/.dart_tool/
key: ${{ runner.os }}-dependencies-android-${{ hashFiles('**/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_android/.dart_tool/
key: ${{ runner.os }}-dependencies-android-${{ hashFiles('**/pubspec.lock') }}
- name: Install Dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_image_cropper_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_ios/.dart_tool/
key: ${{ runner.os }}-dependencies-ios-${{ hashFiles('**/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_ios/.dart_tool/
key: ${{ runner.os }}-dependencies-ios-${{ hashFiles('**/pubspec.lock') }}
- name: Install Dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_image_cropper_macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_macos/.dart_tool/
key: ${{ runner.os }}-dependencies-macos-${{ hashFiles('**/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_macos/.dart_tool/
key: ${{ runner.os }}-dependencies-macos-${{ hashFiles('**/pubspec.lock') }}
- name: Install Dependencies
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_platform_interface/.dart_tool/
key: ${{ runner.os }}-dependencies-platform-interface-${{ hashFiles('**/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_platform_interface/.dart_tool/
key: ${{ runner.os }}-dependencies-platform-interface-${{ hashFiles('**/pubspec.lock') }}
- name: Install Dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_image_cropper_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_web/.dart_tool/
key: ${{ runner.os }}-dependencies-web-${{ hashFiles('**/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: .dart_tool/
path: native_image_cropper_web/.dart_tool/
key: ${{ runner.os }}-dependencies-web-${{ hashFiles('**/pubspec.lock') }}
- name: Install Dependencies
run: |
Expand Down

0 comments on commit a998fe9

Please sign in to comment.