File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 2323
2424 - name : Prepare artifact
2525 run : |
26- cmake --install build/wii --verbose --prefix /tmp/artifact/Wii-Tac-Toe
27- cp --verbose Wii-Tac-Toe/* /tmp/artifact/Wii-Tac-Toe/
26+ cmake --install build/wii --verbose --prefix /tmp/artifact
2827
2928 - uses : actions/upload-artifact@v4
3029 with :
Original file line number Diff line number Diff line change @@ -85,4 +85,14 @@ target_link_libraries(Wii-Tac-Toe PRIVATE
8585ogc_create_dol(Wii-Tac-Toe)
8686
8787get_target_property (DOL_FILE Wii-Tac-Toe DKP_FILE)
88- install (FILES "${DOL_FILE} " DESTINATION . RENAME "boot.dol" )
88+ install (FILES "${DOL_FILE} " DESTINATION "Wii-Tac-Toe" RENAME "boot.dol" )
89+ install (FILES
90+ "${CMAKE_CURRENT_SOURCE_DIR} /Wii-Tac-Toe/icon.png"
91+ "${CMAKE_CURRENT_SOURCE_DIR} /Wii-Tac-Toe/meta.xml"
92+ DESTINATION "Wii-Tac-Toe"
93+ )
94+
95+ set (CPACK_PACKAGE_NAME "wii-tac-toe" )
96+ set (CPACK_GENERATOR "ZIP" )
97+ set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME} " )
98+ include (CPack)
Original file line number Diff line number Diff line change 4646 "configurePreset" : " gamecube"
4747 }
4848 ],
49+ "packagePresets" : [
50+ {
51+ "name" : " wii" ,
52+ "displayName" : " Wii Package" ,
53+ "configurePreset" : " wii" ,
54+ "generators" : [
55+ " ZIP"
56+ ]
57+ }
58+ ],
4959 "workflowPresets" : [
5060 {
5161 "name" : " wiiu" ,
You can’t perform that action at this time.
0 commit comments