From ee1e69c0ad7eaf929de0a1e2ae10f2acbbd8b602 Mon Sep 17 00:00:00 2001 From: sonygod Date: Wed, 9 Oct 2024 17:08:09 +0800 Subject: [PATCH] 8 --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74a0ee3..fa02b06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,15 @@ jobs: run: | Start-Process -FilePath "install/haxe-4.3.6-win64.exe" -ArgumentList "/S" -Wait # Silent install + -name: Check Haxe Installation + shell: powershell + run: | + if (!(Test-Path -Path "C:\HaxeToolkit\haxe\")) { + Write-Error "Haxe installation directory not found!" + exit 1 + } else { + Write-Host "Haxe installation directory found." + } - name: Add Haxe to PATH uses: actions/setup-python@v4 with: