;ci: fix mac

This commit is contained in:
Simon Michael 2020-06-06 17:31:32 -07:00
parent 1f2cd8ec2e
commit 68af99998a

View File

@ -42,7 +42,7 @@ jobs:
run: |
git ls-tree -r --name-only HEAD | while read filename; do
TS="$(git log -1 --format="%ct" -- ${filename})"
touch "${filename}" -mt "$(date --date="@$TS" "+%Y%m%d%H%M.%S")"
touch "${filename}" -mt "$(date -r "$TS" "+%Y%m%d%H%M.%S")"
done
# things to be cached/restored: