From 5a922fe202526587789c6658f10798130d818afd Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 17 Jan 2025 17:18:28 +1100 Subject: [PATCH] For rebuild of cache assets, since hashFiles() doesnt work --- .gitea/workflows/build_docker.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index ed56d6e..a062d89 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -66,7 +66,7 @@ jobs: public/js/manifest.js public/js/vendor.js #key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }} - key: build-pla-page-assets + key: build-pla-page-assets-5166780 #restore-keys: | # build-pla-page-assets- @@ -130,7 +130,7 @@ jobs: public/js/manifest.js public/js/vendor.js #key: build-pla-page-assets-${{ hashFiles('**/package-lock.json') }} - key: build-pla-page-assets + key: build-pla-page-assets-5166780 #restore-keys: | # build-pla-page-assets- @@ -138,7 +138,7 @@ jobs: name: List the state of page assets continue-on-error: false run: | - echo CACHE-HIT:${{ steps.cache-page-assets.outputs.cache-hit }} + echo CACHE-MISS:${{ steps.cache-page-assets.outputs.cache-hit }} ls -al public/css/ ls -al public/js/