@@ -179,6 +179,7 @@ jobs:
179179 uses : bend-n/godot-builds/.github/actions/upload-artifact@main
180180 with :
181181 path : godot/bin/*.zip
182+ name : ${{ inputs.name }}-${{ matrix.target }}-${{ matrix.flags }}
182183
183184 templates :
184185 needs : [web, macos, windows, linux, android]
@@ -188,11 +189,14 @@ jobs:
188189 tmps : " templates"
189190 steps :
190191 - name : Download all artifacts
191- uses : actions/download-artifact@v3
192+ uses : actions/download-artifact@v4
192193
193194 - name : List all downloaded files
194195 run : ls -R
195196
197+ - name : flatten
198+ run : find . -mindepth 2 -type f -exec mv -t . -i '{}' +
199+
196200 - name : Getdot
197201 uses : actions/checkout@v3
198202 with :
@@ -207,31 +211,31 @@ jobs:
207211 mkdir -vp "$tmps"
208212 echo "Preparing linux"
209213 linux="godot.x11.opt"
210- mv "linux/ $linux.64" "$tmps/linux_x11_debug.x86_64"
211- mv "linux/ $linux.debug.64" "$tmps/linux_x11_release.x86_64"
214+ mv "$linux.64" "$tmps/linux_x11_debug.x86_64"
215+ mv "$linux.debug.64" "$tmps/linux_x11_release.x86_64"
212216
213217 echo "Preparing windows"
214218 windows="godot.windows.opt"
215219 # mv "windows/$windows.debug.64.exe" "$tmps/windows_debug_x86_64.exe"
216- mv "windows/ $windows.64.exe" "$tmps/windows_release_x86_64.exe"
220+ mv "$windows.64.exe" "$tmps/windows_release_x86_64.exe"
217221
218222 echo "Preparing android"
219223 # mv "android/android_debug.apk" "$tmps/android_debug.apk"
220- mv "android/ android_release.apk" "$tmps/android_release.apk"
224+ mv "android_release.apk" "$tmps/android_release.apk"
221225
222226 echo "Preparing macos"
223227 mac="godot.osx.opt"
224228 cp -r "godot-repo/misc/dist/osx_template.app" "."
225229 mkdir -p "osx_template.app/Contents/MacOS"
226- cp "macos/ $mac.universal" "osx_template.app/Contents/MacOS/godot_osx_release.64"
230+ cp "$mac.universal" "osx_template.app/Contents/MacOS/godot_osx_release.64"
227231 # cp "macos/$mac.debug.universal" "osx_template.app/Contents/MacOS/godot_osx_debug.64"
228232 chmod +x osx_template.app/Contents/MacOS/*.64
229233 zip -q -9 -r "$tmps/osz.zip" "osx_template.app"
230234
231235 echo "Preparing web"
232236 web="godot.javascript.opt"
233- mv "web/ $web.zip" "$tmps/webassembly_release.zip"
234- mv "web/ $web.gdnative.zip" "$tmps/webassembly_gdnative_release.zip"
237+ mv "$web.zip" "$tmps/webassembly_release.zip"
238+ mv "$web.gdnative.zip" "$tmps/webassembly_gdnative_release.zip"
235239
236240 - name : Prepare bundle
237241 run : cd "${tmps}" && zip -qr9 templates.tpz ./*
@@ -240,21 +244,25 @@ jobs:
240244 uses : bend-n/godot-builds/.github/actions/upload-artifact@main
241245 with :
242246 path : ${{ env.tmps }}/templates.tpz
247+ name : templates
243248
244249 editor :
250+ strategy :
251+ matrix :
252+ platform : [server, linuxbsd]
245253 name : Linux editor
246254 runs-on : ubuntu-20.04
247255 steps :
248256 - name : Compilation
249257 uses : bend-n/godot-builds/.github/actions/build-godot@main
250258 with :
251- platform : linuxbsd
259+ platform : ${{ matrix.platform }}
252260 target : release
253261
254262 - name : Upload artifact
255263 uses : bend-n/godot-builds/.github/actions/upload-artifact@main
256264 with :
257- name : linuxbsd -editor-release
265+ name : ${{ matrix.platform }} -editor-release
258266 path : godot/bin/*.64
259267
260268 image :
0 commit comments