File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1515 - name : Install Tools
1616 run : |
1717 sudo apt-get update
18- sudo apt-get install -y gcc libreadline-dev lua5.4 make mtools zip
18+ sudo apt-get install -y faketime gcc libreadline-dev lua5.4 make mtools zip
1919
2020 - uses : actions/checkout@v4
2121 with :
@@ -114,15 +114,17 @@ jobs:
114114 run : |
115115 label="LUA DOS"
116116 serial="0x$(echo "$label$(git log -1 --format=%ct)" | sha256sum | cut -c1-8)"
117- mformat -C -i dist/Lua160k.ima -v "$label" -f 160 -N $serial
117+ date=$(git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S')
118+ faketime -f "$date" mformat -C -i dist/Lua160k.ima -v "$label" -f 160 -N $serial
118119 files=$(find dist/bin/LUA16.EXE demo/core/*.LUA | sort | xargs)
119120 mcopy -mi dist/Lua160k.ima $files ::
120121
121122 - name : Create 1.4M Multi-Platform Floppy Diskette Image
122123 run : |
123124 label="LUA MULTIOS"
124125 serial="0x$(echo "$label$(git log -1 --format=%ct)" | sha256sum | cut -c1-8)"
125- mformat -C -i dist/LuaMulti.ima -v "$label" -f 1440 -N $serial
126+ date=$(git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S')
127+ faketime -f "$date" mformat -C -i dist/LuaMulti.ima -v "$label" -f 1440 -N $serial
126128 files=$(find dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA | sort | xargs)
127129 mcopy -mi dist/LuaMulti.ima $files ::
128130
You can’t perform that action at this time.
0 commit comments