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 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" 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: