Cache flags

Btw this is quite similar to what the Carthage step does, but instead of getting the dependency list it uses the full “resolve” file as the cache indicator source, combined with Swift version.