Skip to content

Commit

Permalink
More fiddling.
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKenyon committed Jan 31, 2024
1 parent 61f61b5 commit 4d1dca0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ jobs:
- name: Retouch
run: |
cd $GITHUB_WORKSPACE
ls
ls -lrt
git ls-tree -r --name-only HEAD | while read filename; do
unixtime=$(git log -1 --format="%at" -- "${filename}")
touchtime=$(date -d @$unixtime +'%Y%m%d%H%M.%S')
touch -t ${touchtime} "${filename}"
done
ls -lrt
# - name: Retouch
# run: find $GITHUB_WORKSPACE -type f -name "*.py" -exec touch -t 01010000 {} +
Expand Down

0 comments on commit 4d1dca0

Please sign in to comment.