stage1 caching: don't write manifest until cache release

this prevents the situation where we determine the cache
manifest and write it, but then crash or otherwise error out
before putting the artifacts in the proper place.

now the artifacts will be in place because cache_release
happens after that step is done.
148fe2e999Andrew Kelley committed on 9/18/2018, 7:35:03 PMparent8c77c57
1 file changedLine totals unavailable