From 4f46983e5f36d8337b6480d54ed4630ee0cbf4ed Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Mon, 3 Apr 2023 18:47:26 +0530 Subject: [PATCH] ci(repo): enable flutter cache Signed-off-by: xsahil03x --- .github/workflows/stream_flutter_workflow.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/stream_flutter_workflow.yml b/.github/workflows/stream_flutter_workflow.yml index 478ed227..22d341b9 100644 --- a/.github/workflows/stream_flutter_workflow.yml +++ b/.github/workflows/stream_flutter_workflow.yml @@ -53,14 +53,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Cache Flutter dependencies - uses: actions/cache@v2 - with: - path: /opt/hostedtoolcache/flutter - key: ${{ env.flutter_version }}-flutter - name: "Install Flutter" - uses: subosito/flutter-action@v1 + uses: subosito/flutter-action@v2 with: + cache: true flutter-version: ${{ env.flutter_version }} - name: "Install Tools" run: | @@ -82,14 +78,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Cache Flutter dependencies - uses: actions/cache@v2 - with: - path: /Users/runner/hostedtoolcache/flutter - key: ${{ env.flutter_version }}-flutter - name: "Install Flutter" - uses: subosito/flutter-action@v1 + uses: subosito/flutter-action@v2 with: + cache: true flutter-version: ${{ env.flutter_version }} - name: "Install Tools" run: |