Library that is meant to be used inside Eightshift Boilerplate and Eightshift Boilerplate Plugin libs via composer in order to be able to easily set up a modern development process.
When running the same deploy process again, the theme version in style.css stays the same, which in turn does not reset cache and causes some functionalities to break.
In my example, applicationBlocksEditor files were not loading correctly due to cache not being reset after running deploy.
I can see that setup-version-themeaction gets the key from VERSION=${{ github.sha }}, and github.sha refers to the last commit - and if we're running same commit again this key is the same.
This seems to be the issue, since manually changing the theme version in style.css also solves the caching issue.
When running the same deploy process again, the theme version in
style.css
stays the same, which in turn does not reset cache and causes some functionalities to break.In my example,
applicationBlocksEditor
files were not loading correctly due to cache not being reset after running deploy.I can see that
setup-version-theme
action gets the key fromVERSION=${{ github.sha }}
, andgithub.sha
refers to the last commit - and if we're running same commit again this key is the same.This seems to be the issue, since manually changing the theme version in
style.css
also solves the caching issue.