From 6bec9dc7df6a47de455f1d1eb7123cb50e11fdc6 Mon Sep 17 00:00:00 2001 From: sonygod Date: Wed, 9 Oct 2024 16:59:30 +0800 Subject: [PATCH] 6 --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 274e498..1d58f2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,12 @@ jobs: run: | Start-Process -FilePath "install/haxe-4.3.6-win64.exe" -ArgumentList "/S" -Wait # Silent install - + - name: Add Haxe to PATH + uses: actions/setup-python@v4 + with: + python-version: '3.x' # 选择任意 Python 版本 + env: | + PATH=${{ env.PATH }}:C:\HaxeToolkit\haxe\ # 将 Haxe 路径添加到 PATH - name: Run Haxe build shell: powershell