Configurable save cache on failure
Currently this cache action will only save caches if all tests succeed. In many cases this is desirable behavior. However I have some projects with long build times and flakey test suites. It would be very helpful if I could configure the cache to be saved regardless of the test suite success or failure.
I have created a fork of this project action to set the post-if to always().
Is it possible to make the cache policy configurable? Or to pass post-if as an argument from the cache configuration?