Closed vogella closed 2 years ago
Even more important that updating the label, we should also use Maven lib caching to reduce the build time / downloads.
Even more important that updating the label, we should also use Maven lib caching to reduce the build time / downloads.
You most probably want to include product files (if any) in the hash computation
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ hashFiles('**/*.product') }}
Even more important that updating the label, we should also use Maven lib caching to reduce the build time / downloads.
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ hashFiles('**/*.product') }}
AFAICS resources does not have product files includes.
Btw. @laeubi I'm not sure if the caching will actually be correct here as the pom files refer to a remote pom which is mainly defining the buld.
At least it will cache the basics but maybe not be as efficient as if all changes are detected.
Using the setup from https://github.com/faktorips/faktorips.base/blob/dc5748886e13eb98e15d5ee802c9e23902b3cf23/.github/workflows/maven.yml#L46
Fix #23