Closed ctrueden closed 2 years ago
For the cache to work, we need to use hashFiles on the pom.xml contents.
Unfortunately, we have to use actions/cache rather than the cache: maven option of setup-java v2+, because we are stuck on setup-java v1 in order to install Zulu JDK+FX 8.
cache: maven
In my tests, this change halved the build time (2 min 3 sec before versus 48 sec after).
Thank you very much for making this PR!
For the cache to work, we need to use hashFiles on the pom.xml contents.
Unfortunately, we have to use actions/cache rather than the
cache: maven
option of setup-java v2+, because we are stuck on setup-java v1 in order to install Zulu JDK+FX 8.In my tests, this change halved the build time (2 min 3 sec before versus 48 sec after).