Skip to content

Commit 3debfa9

Browse files
committed
Update webroot-matrix.yml
1 parent 84089e0 commit 3debfa9

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/webroot-matrix.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
os: [ubuntu-latest, windows-latest, macos-latest]
1919
steps:
2020
- uses: actions/checkout@v4
21+
- name: Cache Maven packages
22+
uses: actions/cache@v4
23+
with:
24+
path: ~/.m2
25+
key: lucee-script-runner-maven-cache
2126
- name: Set up Java
2227
uses: actions/setup-java@v4
2328
with:
@@ -50,7 +55,7 @@ jobs:
5055
Write-Host "Testing webroot=$w execute=$e"
5156
$result = ant -buildfile build.xml -Dwebroot=$w -Dexecute="$e" -DuniqueWorkingDir=true 2>&1
5257
if ($LASTEXITCODE -ne 0) {
53-
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute=\"$e\" -DuniqueWorkingDir=true"
58+
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute='$e' -DuniqueWorkingDir=true"
5459
$platform = "ubuntu-latest"
5560
$shell = "pwsh"
5661
"## Platform: $platform | Shell: $shell`n### $cmd`nFAILED: $w / $e`n$result`n" | Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
@@ -118,7 +123,7 @@ jobs:
118123
Write-Host "Testing webroot=$w execute=$e"
119124
$result = ant -buildfile build.xml -Dwebroot=$w -Dexecute="$e" -DuniqueWorkingDir=true 2>&1
120125
if ($LASTEXITCODE -ne 0) {
121-
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute=\"$e\" -DuniqueWorkingDir=true"
126+
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute='$e' -DuniqueWorkingDir=true"
122127
$platform = "macos-latest"
123128
$shell = "pwsh"
124129
"## Platform: $platform | Shell: $shell`n### $cmd`nFAILED: $w / $e`n$result`n" | Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
@@ -188,7 +193,7 @@ jobs:
188193
Write-Host "Testing webroot=$w execute=$e"
189194
$result = ant -buildfile build.xml -Dwebroot=$w -Dexecute="$e" -DuniqueWorkingDir=true 2>&1
190195
if ($LASTEXITCODE -ne 0) {
191-
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute=\"$e\" -DuniqueWorkingDir=true"
196+
$cmd = "ant -buildfile build.xml -Dwebroot=$w -Dexecute='$e' -DuniqueWorkingDir=true"
192197
$platform = "windows-latest"
193198
$shell = "pwsh"
194199
"## Platform: $platform | Shell: $shell`n### $cmd`nFAILED: $w / $e`n$result`n" | Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)