Skip to content

Commit 2e75dbd

Browse files
committed
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.
1 parent c4c351c commit 2e75dbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actions/extractor/tools/autobuild.cmd

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

0 commit comments

Comments
 (0)