From 1d8dbbf6c3dda6826328f933a95087760c38756b Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:38:57 +0200 Subject: [PATCH] TSK-1657: fixed path to yarn.lock files so that cache gets computed correctly --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 61f610d88..2db1def88 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -92,7 +92,7 @@ jobs: uses: actions/cache@v2.1.6 with: path: web/node_modules - key: ${{ runner.OS }}-${{ env.CACHE_WEB_NAME }}-${{ hashFiles('**/yarn-lock.json') }} + key: ${{ runner.OS }}-${{ env.CACHE_WEB_NAME }}-${{ hashFiles('**/yarn.lock') }} - name: Cache maven dependencies (for web) uses: actions/cache@v2.1.6 with: @@ -176,7 +176,7 @@ jobs: uses: actions/cache@v2.1.6 with: path: web/node_modules - key: ${{ runner.OS }}-${{ env.CACHE_WEB_NAME }}-${{ hashFiles('**/yarn-lock.json') }} + key: ${{ runner.OS }}-${{ env.CACHE_WEB_NAME }}-${{ hashFiles('**/yarn.lock') }} # Theoretically this is not necessary because we reuse the cache from the 'compile_frontend' job. # Sometimes the cache is not created, therefore this is a fallback. - name: Install Dependencies