From 20035e0f1bfa7c1126608961f301c0708513ce89 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 26 Jun 2022 18:18:36 +0200 Subject: [PATCH] ci: only hash web source Signed-off-by: Jens Langhammer --- .github/workflows/ci-main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 159d85aa2..b78ca402c 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -133,7 +133,7 @@ jobs: uses: actions/cache@v3 with: path: web/dist - key: ${{ runner.os }}-web-${{ hashFiles('web/package-lock.json', 'web/**') }} + key: ${{ runner.os }}-web-${{ hashFiles('web/package-lock.json', 'web/src/**') }} - name: prepare web ui if: steps.cache-web.outputs.cache-hit != 'true' working-directory: web @@ -167,7 +167,7 @@ jobs: uses: actions/cache@v3 with: path: web/dist - key: ${{ runner.os }}-web-${{ hashFiles('web/package-lock.json', 'web/**') }} + key: ${{ runner.os }}-web-${{ hashFiles('web/package-lock.json', 'web/src/**') }} - name: prepare web ui if: steps.cache-web.outputs.cache-hit != 'true' working-directory: web/