]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update test.yml (#29863)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 24 Dec 2019 16:12:13 +0000 (18:12 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Dec 2019 16:12:13 +0000 (18:12 +0200)
Fix cache name

.github/workflows/test.yml

index 04dd494854e02cea14c26fe33b531c7f27f361dc..83c0e563ae696cd602dea053ce836f6370693c03 100644 (file)
@@ -30,11 +30,10 @@ jobs:
         uses: actions/cache@v1
         with:
           path: ~/.npm
-          key: ${{ runner.os }}-node-v{{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
+          key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
           restore-keys: |
-            ${{ runner.OS }}-node-v{{ matrix.node }}-${{ env.cache-name }}-
-            ${{ runner.OS }}-node-v{{ matrix.node }}-
-            ${{ runner.OS }}-
+            ${{ runner.OS }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }}
+            ${{ runner.OS }}-node-v${{ matrix.node }}-
 
       - name: Install npm dependencies
         run: npm ci