Update cache from 3.2.4 to 4.0.0 by aparnajyothi-y · Pull Request #724 · actions/setup-java

Description:
Following actions/toolkit#1890 & the deprecation of several versions of the @actions/cache package, this change upgrades setup-java to the latest cache package to prevent cache failures when the sunsetting start.

Related issue:

Reference announcement in actions/toolkit: actions/toolkit#1890

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.