Actions: Fix invocation of autobuild PowerShell script

Pass the quoted script path to PowerShell using `-File`.
This ensures the path is treated as a string rather
than a command, and correctly handles file paths
that contain spaces, unblocking integration tests.

Add logging to autobuild.cmd for easier debugging.
This commit is contained in:
Aditya Sharad
2025-04-08 19:30:02 -07:00
parent c4c351c9dd
commit 2e75dbd519

View File

@@ -1,3 +1,4 @@
@echo off
rem All of the work is done in the PowerShell script
powershell.exe "%~dp0autobuild-impl.ps1"
echo "Running PowerShell script at '%~dp0autobuild-impl.ps1'"
powershell.exe -File "%~dp0autobuild-impl.ps1"