فهرست منبع

CI: Workaround upstream issue with .NET editor build not exiting

We force closing the process after 10 s, which should be ample time to generate
the .godot folder.

(cherry picked from commit 306774b5a4ee434f6c688641d12fe3be009d025b)
Rémi Verschelde 1 سال پیش
والد
کامیت
c5f47b2a4e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      .github/workflows/ci.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -172,7 +172,7 @@ jobs:
           ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono --headless --version
           ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono --headless --version
           cd test
           cd test
           # Need to run the editor so .godot is generated... but it crashes! Ignore that :-)
           # Need to run the editor so .godot is generated... but it crashes! Ignore that :-)
-          (cd project && (../../godot-artifacts/godot.linuxbsd.editor.x86_64.mono --editor --headless --quit >/dev/null 2>&1 || true))
+          (cd project && (timeout 10 ../../godot-artifacts/godot.linuxbsd.editor.x86_64.mono --editor --headless --quit >/dev/null 2>&1 || true))
           GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh
           GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh
 
 
       - name: Upload artifact
       - name: Upload artifact