Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update caching in the dependency check action
The cache strategy of setup-java does not work as I intended: It creates a cache entry once, reloads it in the subsequent runs, but once these runs finish, they don't overwrite the cache. What does it mean for the dependency check? (n.b. my pom.xml didn't change, which makes the cache key) - 1st run was the build-and-deploy-to-ossrh action - it created the cache. - All subsequent runs of the dependency-check action: Take the cache from first run. Oh! There is no database, let's download and build it. The new strategy: Every action run creates a new cache entry with the current timestamp as key. restore-keys hopefully picks the latest cache key in the next run.
- Loading branch information