meltwater / drone-cache

A Drone plugin for caching current workspace files between builds to reduce your build times
https://underthehood.meltwater.com/blog/2019/04/10/making-drone-builds-10-times-faster/
Apache License 2.0
338 stars 81 forks source link

Restore file modification times #212

Closed CthulhuDen closed 1 year ago

CthulhuDen commented 2 years ago

Fixes #210

Proposed Changes

Description

In line with the liked issue, currently restored files (when using filesystem backend) do not preserve original timestamps, which leads to some build systems to rebuild. This PR fixes that.

Checklist

bdebyl commented 1 year ago

@CthulhuDen could you pull from master and ensure your additions in the CHANGELOG are under the v1.4.0 release we're planning to get out?

After that's done I can merge it.