Skip to content

Commit d115bc9

Browse files
committed
Update webroot-matrix.yml
1 parent 58c0000 commit d115bc9

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

.github/workflows/webroot-matrix.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jobs:
1212
runs-on: macos-latest
1313
steps:
1414
- uses: actions/checkout@v4
15+
- name: Cache Maven packages
16+
uses: actions/cache@v4
17+
with:
18+
path: ~/.m2/repository
19+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
20+
restore-keys: |
21+
${{ runner.os }}-maven-
1522
- name: Set up Java
1623
uses: actions/setup-java@v4
1724
with:
@@ -46,6 +53,13 @@ jobs:
4653
runs-on: ubuntu-latest
4754
steps:
4855
- uses: actions/checkout@v4
56+
- name: Cache Maven packages
57+
uses: actions/cache@v4
58+
with:
59+
path: ~/.m2/repository
60+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
61+
restore-keys: |
62+
${{ runner.os }}-maven-
4963
- name: Set up Java
5064
uses: actions/setup-java@v4
5165
with:
@@ -81,6 +95,13 @@ jobs:
8195
runs-on: windows-latest
8296
steps:
8397
- uses: actions/checkout@v4
98+
- name: Cache Maven packages
99+
uses: actions/cache@v4
100+
with:
101+
path: ~/.m2/repository
102+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
103+
restore-keys: |
104+
${{ runner.os }}-maven-
84105
- name: Set up Java
85106
uses: actions/setup-java@v4
86107
with:
@@ -95,7 +116,7 @@ jobs:
95116
@echo off
96117
setlocal enabledelayedexpansion
97118
for %%w in (.) do (
98-
for %%e in (index.cfm test.cfm sub/test.cfm) do (
119+
for %%e in (index.cfm test.cfm sub\test.cfm) do (
99120
echo %%w / %%e
100121
ant -buildfile=..\..\build.xml "-Dwebroot=%%w" "-Dexecute=%%e" -DpreCleanup=false -DpostCleanup=false -DluceeVersionQuery=%LUCEE_VERSION_QUERY%
101122
if errorlevel 1 (
@@ -126,6 +147,13 @@ jobs:
126147
runs-on: windows-latest
127148
steps:
128149
- uses: actions/checkout@v4
150+
- name: Cache Maven packages
151+
uses: actions/cache@v4
152+
with:
153+
path: ~/.m2/repository
154+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
155+
restore-keys: |
156+
${{ runner.os }}-maven-
129157
- name: Set up Java
130158
uses: actions/setup-java@v4
131159
with:
@@ -165,6 +193,13 @@ jobs:
165193
runs-on: windows-latest
166194
steps:
167195
- uses: actions/checkout@v4
196+
- name: Cache Maven packages
197+
uses: actions/cache@v4
198+
with:
199+
path: ~/.m2/repository
200+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
201+
restore-keys: |
202+
${{ runner.os }}-maven-
168203
- name: Set up Java
169204
uses: actions/setup-java@v4
170205
with:

0 commit comments

Comments
 (0)