github action env install

This commit is contained in:
niuhuan 2022-03-22 11:09:34 +08:00
parent 49b2dba8de
commit 5e93f7ecd8
1 changed files with 6 additions and 6 deletions

View File

@ -90,12 +90,12 @@ jobs:
- if: ${{steps.check_asset.outputs.*}} == "BUILD" - if: ${{steps.check_asset.outputs.*}} == "BUILD"
name: Cache Flutter dependencies name: Cache Flutter dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: /opt/hostedtoolcache/flutter path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }}-${{ hashFiles('**/pubspec.lock') }} key: ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }}-${{ hashFiles('**/pubspec.lock') }}
restore-keys: | restore-keys: |
${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }} ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }}
- if: ${{steps.check_asset.outputs.*}} == "BUILD" - if: ${{steps.check_asset.outputs.*}} == "BUILD"
uses: subosito/flutter-action@v2.3.0 uses: subosito/flutter-action@v2.3.0