Skip to content

Commit 947533d

Browse files
committed
fix: enforce must-match condition on zipped artefacts, correct path names for executables
1 parent f0eb755 commit 947533d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/actions/bundle_release/action.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,30 @@ runs:
1717
- name: Compress Windows Release
1818
shell: bash
1919
run: |
20-
zip -j CortexCommand.windows.zip \
21-
"release/Cortex Command.exe" \
20+
zip --must-match -j CortexCommand.windows.zip \
21+
"release/Cortex Command.exe/Cortex Command.exe" \
2222
external/lib/win/{fmod,SDL2}.dll
2323
2424
- name: Compress Linux Release
2525
shell: bash
2626
run: |
27-
zip -j CortexCommand.linux.zip \
27+
zip --must-match -j CortexCommand.linux.zip \
2828
"release/CortexCommand (Linux)/CortexCommand.AppImage" \
2929
external/lib/linux/x86_64/libfmod.so*
3030
3131
- name: Compress OSX Release
3232
shell: bash
3333
run: |
34-
zip -j CortexCommand.macos.zip \
35-
"release/CortexCommand (macOS)/CortexCommand" \
34+
zip --must-match -j CortexCommand.macos.zip \
35+
"release/CortexCommand (macOS)/CortexCommand.tar" \
3636
external/lib/macos/libfmod.dylib
3737
3838
- name: Package Data files
3939
shell: bash
4040
run: |
41-
zip -r -u CortexCommand.windows.zip Data
42-
zip -r -u CortexCommand.linux.zip Data
43-
zip -r -u CortexCommand.macos.zip Data
41+
zip --must-match -r -u CortexCommand.windows.zip Data
42+
zip --must-match -r -u CortexCommand.linux.zip Data
43+
zip --must-match -r -u CortexCommand.macos.zip Data
4444
4545
4646

0 commit comments

Comments
 (0)