diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e959f585e5..0bb48fb96e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,11 +87,7 @@ jobs: uses: actions/cache@v2 with: path: "**/.turbo" - key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}" - restore-keys: | - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }} - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}- - turbo-${{ github.ref }}- + key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }} - name: Install NPM Dependencies run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000 @@ -145,11 +141,7 @@ jobs: uses: actions/cache@v2 with: path: "**/.turbo" - key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}" - restore-keys: | - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }} - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}- - turbo-${{ github.ref }}- + key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }} - name: Install NPM Dependencies run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000 @@ -193,11 +185,7 @@ jobs: uses: actions/cache@v2 with: path: "**/.turbo" - key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}" - restore-keys: | - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }} - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}- - turbo-${{ github.ref }}- + key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }} - name: Install NPM Dependencies run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000 @@ -236,11 +224,7 @@ jobs: uses: actions/cache@v2 with: path: "**/.turbo" - key: "turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }}" - restore-keys: | - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}-${{ github.sha }} - turbo-${{ github.ref }}-${{ hashFiles('packages/**/src/**') }}- - turbo-${{ github.ref }}- + key: turbo-${{ hashFiles('.github/workflows/ci.yml') }}-${{ github.ref }} - name: Install NPM Dependencies run: yarn install --prefer-offline --frozen-lockfile --ignore-engines --registry https://registry.npmjs.org --network-timeout 300000