From 2af84d6f825d45100ab0e2849236b180e102e914 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 17 Jan 2025 17:18:28 +1100 Subject: [PATCH] Fix for not rebuilding cached assets when there is an update --- .gitea/workflows/build_docker.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index ed56d6e..f3b34b6 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -65,8 +65,8 @@ jobs: public/js/app.js 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-${{ hashFiles('**/package-lock.json') }} + #key: build-pla-page-assets #restore-keys: | # build-pla-page-assets- @@ -129,8 +129,8 @@ jobs: public/js/app.js 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-${{ hashFiles('**/package-lock.json') }} + #key: build-pla-page-assets #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/