From f9b3bda9d5ce0e3185b7dfd9205615871302e1d5 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 19 Sep 2022 13:01:32 -0700 Subject: [PATCH] fixup!: update ids for caching --- .github/workflows/build.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 734dd7f6b..52a650466 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,7 +45,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Format files with Prettier @@ -110,7 +110,7 @@ jobs: - name: Fetch dependencies from cache if: steps.changed-files.outputs.any_changed == 'true' - id: cache-yarn + id: cache-node-modules uses: actions/cache@v3 with: path: "node_modules" @@ -119,7 +119,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Lint shell files @@ -157,7 +157,7 @@ jobs: - name: Fetch dependencies from cache if: steps.changed-files.outputs.any_changed == 'true' - id: cache-yarn + id: cache-node-modules uses: actions/cache@v3 with: path: "node_modules" @@ -166,7 +166,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Lint TypeScript files @@ -200,7 +200,7 @@ jobs: - name: Fetch dependencies from cache if: steps.changed-files.outputs.any_changed == 'true' - id: cache-yarn + id: cache-node-modules uses: actions/cache@v3 with: path: "node_modules" @@ -209,7 +209,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Run tsc on TypeScript files