[bug] Keep timestamp of files in the artifacts
What happened?
The timestamp of the files in the artifact is not the one of the original file
What did you expect to happen?
That the timestamps of the files in the archive (zip) of the artifact are the same as the original file
How can we reproduce it?
Give a specific timestamp to a file
use actions/upload-artifact@v3 for that file
Then after job is run, download the artifact locally. You can see that the timestamps is not the same as before
Anything else we need to know?
No response
What version of the action are you using?
actions/upload-artifact@v3
What are your runner environments?
macos
Are you on GitHub Enterprise Server? If so, what version?
No response
v4 just dropped and this should be fixed: https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/
@tenzap could you try reproducing this with v4 and closing this out if this is no longer an issue
This still seems to be happening; the files on the hard drive are timestamped to CET (our machine's timezone, e.g. 22:09) but the ones in the archive seem to be timestamped to GMT (21:09)
I'm seeing this across all types of runner I've tried with v4. windows-2019, ubuntu-latest, macos-latest, etc. the original timestamps are not preserved in the zip.