Skip to content

Commit f9886a4

Browse files
committed
Corrected script modification time step in CI builds.
1 parent 03580c3 commit f9886a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,11 @@ jobs:
109109
run: |
110110
lua demo/util/PE95TIME.LUA dist/bin/LUANT.EXE
111111
112-
- name: Set modification time on all repository files to their respective commit
112+
- name: Set modification time on scripts to their respective commit
113113
run: |
114-
git ls-files -z | xargs -0 -I{} touch --date="$(git log -1 --pretty=format:%cI -- {})" {}
114+
cd demo
115+
git ls-files -z | xargs -0 -I{} bash -c 'touch --date="$(git log -1 --pretty=format:%cI -- "$0")" "$0"' {}
116+
cd ..
115117
116118
- name: Remove UNIX executable permission from non-UNIX executable files
117119
run: |

0 commit comments

Comments
 (0)