File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
.github/actions/bundle_release Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Bundle Release Assets'
2
+ description : ' Downloads build assets and packages them into a zip file along with game data and libraries'
3
+ runs :
4
+ using : " composite"
5
+ steps :
6
+ - run : mkdir release
7
+ shell : bash
8
+
9
+ - name : Download build artefacts
10
+ uses : actions/download-artifact@v3
11
+ with :
12
+ path : release
13
+
14
+ - run : ls -R release
15
+ shell : bash
16
+
17
+ - name : Compress Windows Release
18
+ shell : bash
19
+ run : |
20
+ zip -j CortexCommand.windows.zip \
21
+ "release/Cortex Command.exe" \
22
+ external/lib/win/{fmod,SDL2}.dll
23
+
24
+ - name : Compress Linux Release
25
+ shell : bash
26
+ run : |
27
+ zip -j CortexCommand.linux.zip \
28
+ "release/CortexCommand (Linux)/CortexCommand.AppImage" \
29
+ external/lib/linux/x86_64/libfmod.so*
30
+
31
+ - name : Compress OSX Release
32
+ shell : bash
33
+ run : |
34
+ zip -j CortexCommand.macos.zip \
35
+ "release/CortexCommand (macOS)/CortexCommand" \
36
+ external/lib/macos/libfmod.dylib
37
+
38
+ - name : Package Data files
39
+ shell : bash
40
+ 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
44
+
45
+
46
+
47
+
48
+
You can’t perform that action at this time.
0 commit comments