Skip to content

Commit 2d1ab78

Browse files
committed
Update webroot-matrix.yml
1 parent 2420595 commit 2d1ab78

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/webroot-matrix.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,10 @@ jobs:
9797
set executes=index.cfm,test.cfm,sub/test.cfm
9898
for %%w in (%webroots%) do (
9999
for %%e in (%executes%) do (
100-
101-
echo ant -buildfile=..\..\build.xml -Dwebroot="%%w" -Dexecute=%%e -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
102-
ant -v -buildfile=..\..\build.xml -Dwebroot=%%w -Dexecute=%%e -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
100+
echo ant -v -buildfile=..\..\build.xml "-Dwebroot=%%w" "-Dexecute=%%e" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
101+
ant -v -buildfile=..\..\build.xml "-Dwebroot=%%w" "-Dexecute=%%e" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
103102
if errorlevel 1 (
104-
set cmd=ant -buildfile=build.xml -Dwebroot=%%w -Dexecute="%%e" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
103+
set cmd=ant -buildfile=build.xml "-Dwebroot=%%w" "-Dexecute=%%e" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
105104
echo ## Platform: windows-latest ^| Shell: cmd>> %GITHUB_STEP_SUMMARY%
106105
echo (cd): %cd%>> %GITHUB_STEP_SUMMARY%
107106
echo ### %cmd%>> %GITHUB_STEP_SUMMARY%
@@ -133,12 +132,12 @@ jobs:
133132
foreach ($w in $webroots) {
134133
foreach ($e in $executes) {
135134
$luceeVersionQuery = $env:LUCEE_VERSION_QUERY
136-
$cmd = "ant -buildfile=../../build.xml -Dwebroot=`"$w`" -Dexecute=$e -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=$luceeVersionQuery"
135+
$cmd = "ant -buildfile=../../build.xml `"-Dwebroot=$w`" `"-Dexecute=$e`" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=$luceeVersionQuery"
137136
Write-Host $cmd
138137
$LASTEXITCODE = 0
139138
iex $cmd
140139
if ($LASTEXITCODE -ne 0) {
141-
$cmd = "ant -buildfile=../../build.xml -Dwebroot=$w -Dexecute=$e -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=$luceeVersionQuery"
140+
$cmd = "ant -buildfile=../../build.xml `"-Dwebroot=$w`" `"-Dexecute=$e`" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=$luceeVersionQuery"
142141
$platform = "windows-latest"
143142
$shell = "pwsh"
144143
$summary = @()

0 commit comments

Comments
 (0)