|
43 | 43 | unzip -a Godot_v${GODOT_VERSION}-${GODOT_SUB}_export_templates.tpz |
44 | 44 | mkdir -v -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_SUB} |
45 | 45 | mv ./templates/* ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_SUB} |
46 | | - sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y wine-stable && sudo apt-get install -y wine32 |
47 | | - #chown root:root -R ~ |
48 | | - wget -q https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe |
49 | | - mkdir -v -p ~/.local/share/rcedit |
50 | | - mv rcedit-x64.exe ~/.local/share/rcedit |
51 | | - #./Godot_v${GODOT_VERSION}-stable_linux.x86_64 --headless -q |
52 | | - mkdir -p ~/.config/godot |
53 | | - cd ~/.local/share/rcedit |
54 | | - RCEDIT_PATH=`pwd` |
55 | | - cd - |
56 | | - echo '[gd_resource type="EditorSettings" format=2]' >> ~/.config/godot/editor_settings-4.tres |
57 | | - echo '[resource]' >> ~/.config/godot/editor_settings-4.tres |
58 | | - echo 'export/windows/wine = "/usr/bin/wine"' >> ~/.config/godot/editor_settings-4.tres |
59 | | - echo 'export/windows/rcedit = "'$RCEDIT_PATH'/rcedit-x64.exe"' >> ~/.config/godot/editor_settings-4.tres |
60 | 46 | mkdir -v -p build/${EXPORT_NAME}_${MM_RELEASE}_windows build/${EXPORT_NAME}_${MM_RELEASE}_linux |
61 | 47 | - name: Generate Documentation |
62 | 48 | if: ${{ github.event.inputs.gen_doc == 'true' }} |
|
66 | 52 | - name: Windows Build 🗔 |
67 | 53 | run: | |
68 | 54 | ./Godot_v${GODOT_VERSION}-${GODOT_SUB}_linux.x86_64 --headless -v --export-release "Windows" ./build/${EXPORT_NAME}_${MM_RELEASE}_windows/$EXPORT_NAME.exe |
69 | | - ./Godot_v${GODOT_VERSION}-${GODOT_SUB}_linux.x86_64 --headless -v --export-release "Windows" ./build/${EXPORT_NAME}_${MM_RELEASE}_windows/$EXPORT_NAME.exe |
70 | 55 | - name: Linux Build 🐧 |
71 | 56 | run: | |
72 | 57 | ./Godot_v${GODOT_VERSION}-${GODOT_SUB}_linux.x86_64 --headless -v --export-release "Linux/X11" ./build/${EXPORT_NAME}_${MM_RELEASE}_linux/$EXPORT_NAME.x86_64 |
73 | | - ./Godot_v${GODOT_VERSION}-${GODOT_SUB}_linux.x86_64 --headless -v --export-release "Linux/X11" ./build/${EXPORT_NAME}_${MM_RELEASE}_linux/$EXPORT_NAME.x86_64 |
74 | 58 | - name: Copy Material Maker data 📁 |
75 | 59 | run: | |
76 | 60 | cp -R ./addons/material_maker/nodes ./build/${EXPORT_NAME}_${MM_RELEASE}_windows |
@@ -165,7 +149,6 @@ jobs: |
165 | 149 | chmod +x Godot.app/Contents/MacOS/Godot |
166 | 150 | mkdir -v -p ./build/mac |
167 | 151 | Godot.app/Contents/MacOS/Godot --headless -v --export-release "Mac OSX" ./build/mac/material_maker.zip |
168 | | - Godot.app/Contents/MacOS/Godot --headless -v --export-release "Mac OSX" ./build/mac/material_maker.zip |
169 | 152 | - name: Make application executable 🔧 |
170 | 153 | run: | |
171 | 154 | unzip -a ./build/mac/material_maker.zip -d ./build/mac |
|
0 commit comments