Skip to content

Commit 5c1adcd

Browse files
committed
Update webroot-matrix.yml
1 parent db251db commit 5c1adcd

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/webroot-matrix.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,17 @@ jobs:
6161
foreach ($w in $webroots) {
6262
foreach ($e in $executes) {
6363
Write-Host "Testing webroot=$w execute=$e"
64-
$result = ant -buildfile build.xml -Dwebroot="$w" -Dexecute="$e" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=$env:LUCEE_VERSION_QUERY 2>&1
64+
$luceeVersionQuery = $env:LUCEE_VERSION_QUERY
65+
$antArgs = @(
66+
'-buildfile', 'build.xml',
67+
"-Dwebroot=$w",
68+
"-Dexecute=$e",
69+
'-DpreCleanup=false',
70+
'-DpostCleanup=false',
71+
"-DluceeVersionQuery=$luceeVersionQuery"
72+
)
73+
Write-Host "CMD: ant $($antArgs -join ' ')"
74+
$result = & ant @antArgs 2>&1
6575
if ($LASTEXITCODE -ne 0) {
6676
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute=$e -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=$env:LUCEE_VERSION_QUERY"
6777
$platform = "macos-latest"

0 commit comments

Comments
 (0)