|
18 | 18 | os: [ubuntu-latest, windows-latest, macos-latest] |
19 | 19 | steps: |
20 | 20 | - 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 |
21 | 26 | - name: Set up Java |
22 | 27 | uses: actions/setup-java@v4 |
23 | 28 | with: |
|
50 | 55 | Write-Host "Testing webroot=$w execute=$e" |
51 | 56 | $result = ant -buildfile build.xml -Dwebroot=$w -Dexecute="$e" -DuniqueWorkingDir=true 2>&1 |
52 | 57 | 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" |
54 | 59 | $platform = "ubuntu-latest" |
55 | 60 | $shell = "pwsh" |
56 | 61 | "## 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: |
118 | 123 | Write-Host "Testing webroot=$w execute=$e" |
119 | 124 | $result = ant -buildfile build.xml -Dwebroot=$w -Dexecute="$e" -DuniqueWorkingDir=true 2>&1 |
120 | 125 | 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" |
122 | 127 | $platform = "macos-latest" |
123 | 128 | $shell = "pwsh" |
124 | 129 | "## 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: |
188 | 193 | Write-Host "Testing webroot=$w execute=$e" |
189 | 194 | $result = ant -buildfile build.xml -Dwebroot=$w -Dexecute="$e" -DuniqueWorkingDir=true 2>&1 |
190 | 195 | 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" |
192 | 197 | $platform = "windows-latest" |
193 | 198 | $shell = "pwsh" |
194 | 199 | "## Platform: $platform | Shell: $shell`n### $cmd`nFAILED: $w / $e`n$result`n" | Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY |
|
0 commit comments