From 4d4d6a622762e9f9f02413e268c6610e7958e918 Mon Sep 17 00:00:00 2001 From: Shounak Mulay Date: Mon, 8 Apr 2024 19:00:08 +0530 Subject: [PATCH 1/2] 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: From 8b2ea871397ca815e12b3be0015cc770a0e93c09 Mon Sep 17 00:00:00 2001 From: Shounak Mulay Date: Tue, 9 Apr 2024 10:07:35 +0530 Subject: [PATCH 2/2] 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 65e53878..2fffbaa3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,6 +22,7 @@ jobs: channel: 'stable' cache: true cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" + pub-cache-key: "flutterPubCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.qa env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c29357a3..082e19f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: channel: 'stable' cache: true cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" + pub-cache-key: "flutterPubCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.dev env: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 34534f59..f65e338b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,6 +21,7 @@ jobs: channel: 'stable' cache: true cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" + pub-cache-key: "flutterPubCacheV1-: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 3ea57578..b354c9ed 100644 --- a/.github/workflows/update_goldens.yml +++ b/.github/workflows/update_goldens.yml @@ -14,6 +14,7 @@ jobs: channel: 'stable' cache: true cache-key: "flutterCacheV1-:os:-:channel:-:version:-:arch:-:hash:" + pub-cache-key: "flutterPubCacheV1-:os:-:channel:-:version:-:arch:-:hash:" - name: Setup .env.dev env: