From e561946d989da60328792c7378a665246a60ea67 Mon Sep 17 00:00:00 2001 From: Josh Kearney Date: Fri, 10 May 2024 14:09:55 -0500 Subject: [PATCH 1/3] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bbf98719dee..97bc1d376d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: uses: actions/cache@v3.3.2 with: path: "~/react-native-website" - key: v1-repo-{{ .Environment.${{ github.sha }} }} + key: v1-repo-${{ github.sha }} lint: defaults: run: From a764e51b2afcd66f510d34aec1e30111d7cfd4ec Mon Sep 17 00:00:00 2001 From: Josh Kearney Date: Fri, 10 May 2024 14:10:05 -0500 Subject: [PATCH 2/3] Update action.yml --- .github/actions/restore_cache_checkout/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/restore_cache_checkout/action.yml b/.github/actions/restore_cache_checkout/action.yml index 5c5d366815e..ff34764b3aa 100644 --- a/.github/actions/restore_cache_checkout/action.yml +++ b/.github/actions/restore_cache_checkout/action.yml @@ -5,5 +5,5 @@ runs: - name: restore_cache uses: actions/cache@v3.3.2 with: - key: v1-repo-{{ .Environment.${{ github.sha }} }} + key: v1-repo-${{ github.sha }} path: UPDATE_ME From 794ef706c1c66ae4c40ecb75cafaaebe088b27a4 Mon Sep 17 00:00:00 2001 From: Josh Kearney Date: Fri, 10 May 2024 14:13:53 -0500 Subject: [PATCH 3/3] Update action.yml --- .github/actions/run_yarn/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/run_yarn/action.yml b/.github/actions/run_yarn/action.yml index 0af36ad4228..3b93f17bb4c 100644 --- a/.github/actions/run_yarn/action.yml +++ b/.github/actions/run_yarn/action.yml @@ -5,9 +5,9 @@ runs: - name: restore_cache uses: actions/cache@v3.3.2 with: - key: v1-yarn-{{ .Branch }} + key: v1-yarn-${{ github.base_ref }} path: UPDATE_ME - restore-keys: v1-yarn-{{ .Branch }} + restore-keys: v1-yarn-${{ github.base_ref }} - name: Yarn Install run: yarn install --frozen-lockfile --no-progress --non-interactive --cache-folder ~/.cache/yarn working-directory: "~/react-native-website"