From 5e93f7ecd8382c2f69f35e271c26ef6204c66666 Mon Sep 17 00:00:00 2001 From: niuhuan Date: Tue, 22 Mar 2022 11:09:34 +0800 Subject: [PATCH] github action env install --- .github/workflows/darft_release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/darft_release.yml b/.github/workflows/darft_release.yml index 32fa92b..d273260 100644 --- a/.github/workflows/darft_release.yml +++ b/.github/workflows/darft_release.yml @@ -90,12 +90,12 @@ jobs: - if: ${{steps.check_asset.outputs.*}} == "BUILD" name: Cache Flutter dependencies - uses: actions/cache@v3 - with: - path: /opt/hostedtoolcache/flutter - key: ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }}-${{ hashFiles('**/pubspec.lock') }} - restore-keys: | - ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }} + uses: actions/cache@v3 + with: + path: /opt/hostedtoolcache/flutter + key: ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }}-${{ hashFiles('**/pubspec.lock') }} + restore-keys: | + ${{ runner.OS }}-flutter-cache-${{ env.flutter_version }}-${{ env.flutter_channel }} - if: ${{steps.check_asset.outputs.*}} == "BUILD" uses: subosito/flutter-action@v2.3.0