From 4d4d6a622762e9f9f02413e268c6610e7958e918 Mon Sep 17 00:00:00 2001 From: Shounak Mulay Date: Mon, 8 Apr 2024 19:00:08 +0530 Subject: [PATCH] Change pub cache key for flutter action to force refresh --- .github/workflows/cd.yml | 1 + .github/workflows/ci.yml | 1 + .github/workflows/e2e.yml | 1 + .github/workflows/update_goldens.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6c5db07b..65e53878 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -21,6 +21,7 @@ jobs: with: channel: 'stable' cache: true + cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.qa env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a72a2301..c29357a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: with: channel: 'stable' cache: true + cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.dev env: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a7b1ab33..34534f59 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -20,6 +20,7 @@ jobs: with: channel: 'stable' cache: true + cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.qa env: diff --git a/.github/workflows/update_goldens.yml b/.github/workflows/update_goldens.yml index 8f46a15f..3ea57578 100644 --- a/.github/workflows/update_goldens.yml +++ b/.github/workflows/update_goldens.yml @@ -13,6 +13,7 @@ jobs: with: channel: 'stable' cache: true + cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.dev env: