@@ -41,12 +41,30 @@ jobs:
4141 run : ninja -C ${SRC_DIR_PATH}/build
4242
4343
44- - name : Upload binary
44+ - name : Upload binary (Linux)
45+ if : startsWith(matrix.os, 'ubuntu')
4546 uses : actions/upload-artifact@v1
4647 with :
47- name : VVVVVV-${{ matrix.os }}Binary
48+ name : VVVVVV-MP-Linux-binary-$(date -Idate)
4849 path : desktop_version/build/VVVVVV
4950
51+
52+ - name : Build .app (macOS)
53+ if : startsWith(matrix.os, 'macos')
54+ run : |
55+ mkdir -pv ${SRC_DIR_PATH}/build/VVVVVV-app/VVVVVV-MP.app/Contents/MacOS/
56+ mkdir -pv ${SRC_DIR_PATH}/build/VVVVVV-app/VVVVVV-MP.app/Contents/Resources
57+ mv -v ${SRC_DIR_PATH}/build/VVVVVV ${SRC_DIR_PATH}/build/VVVVVV-app/VVVVVV-MP.app/Contents/MacOS/VVVVVV
58+ tar -czvf VVVVVV-MP-macOS-$(date -Idate).tgz ${SRC_DIR_PATH}/build/VVVVVV-app/VVVVVV-MP.app
59+
60+ - name : Upload .app (macOS)
61+ if : startsWith(matrix.os, 'macos')
62+ uses : actions/upload-artifact@v1
63+ with :
64+ name : VVVVVV-MP-macOS-$(date -Idate)
65+ path : VVVVVV-MP-macOS-$(date -Idate).tgz
66+
67+
5068 build-win :
5169 name : Build (windows-latest)
5270
7593 - name : Upload artifacts
7694 uses : actions/upload-artifact@v1
7795 with :
78- name : VVVVVV-Windows
79- path : desktop_version/build /VVVVVV.exe
96+ name : VVVVVV-MP- Windows-$(date -Idate)
97+ path : desktop_version/Debug /VVVVVV.exe
0 commit comments