From 663920161632854ed272975de22a9c8824176f22 Mon Sep 17 00:00:00 2001 From: Marc Platt Date: Tue, 14 Jan 2025 15:03:16 -0500 Subject: [PATCH] open in editor first --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1cefc9..24b425a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,6 +149,9 @@ jobs: Write-Host "Checking Godot path: $godotPath" if (Test-Path $godotPath) { Write-Host "Godot executable found" + # open editor first + & $godotPath --headless --editor --quit --path "./cusf_launcher/" + # Then initialize cache python3 .github/scripts/godot_ci_cache.py --godot "$godotPath" } else { Write-Host "Godot not found at $godotPath" @@ -159,7 +162,10 @@ jobs: - name: Initialize godot cache (Unix) if: matrix.build != 'windows' - run: python3 .github/scripts/godot_ci_cache.py + run: | + # open editor first + godot --headless --editor --quit --path "./cusf_launcher/" + python3 .github/scripts/godot_ci_cache.py - name: Create Windows build dir if: matrix.build == 'windows'