From e397b343a0b7dbaa6a1cb0b11c467190a4e132f6 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 7 Sep 2020 12:41:16 +0300 Subject: [PATCH] ci: separate cache actions --- .github/workflows/angular.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/angular.yml b/.github/workflows/angular.yml index 3a6d486144..dfca28338b 100644 --- a/.github/workflows/angular.yml +++ b/.github/workflows/angular.yml @@ -12,10 +12,13 @@ jobs: - uses: actions/cache@v2 with: - path: | - npm/ng-packs/node_modules - templates/app/angular/node_modules - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + path: 'npm/ng-packs/node_modules' + key: ${{ runner.os }}-${{ hashFiles('npm/ng-packs/yarn.lock') }} + + - uses: actions/cache@v2 + with: + path: 'templates/app/angular/node_modules' + key: ${{ runner.os }}-${{ hashFiles('templates/app/angular/yarn.lock') }} - name: Install packages run: yarn install