@@ -19,23 +19,17 @@ jobs:
1919 runs-on : ${{ matrix.os }}
2020 steps :
2121 - uses : actions/checkout@v2
22- - uses : microsoft/playwright-github-action@v1.5.0
22+ - uses : microsoft/playwright-github-action@v1
2323 - name : Set up JDK 1.8
2424 uses : actions/setup-java@v2
2525 with :
2626 distribution : zulu
2727 java-version : 8
28- - name : Cache Maven packages
29- uses : actions/cache@v2
30- with :
31- path : ~/.m2
32- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
33- restore-keys : ${{ runner.os }}-m2
3428 - name : Download drivers
3529 shell : bash
3630 run : scripts/download_driver_for_all_platforms.sh
37- - name : Build with Maven
38- run : mvn -B package -D skipTests --no-transfer-progress
31+ - name : Build & Install
32+ run : mvn -B install -D skipTests --no-transfer-progress
3933 - name : Run tests
4034 run : mvn test --no-transfer-progress --fail-at-end
4135 env :
5044 env :
5145 BROWSER : ${{ matrix.browser }}
5246 run : |
53- mvn -B install -D skipTests --no-transfer-progress
5447 cd tools/test-spring-boot-starter
5548 mvn package -D skipTests --no-transfer-progress
5649 java -jar target/test-spring-boot*.jar
7063 runs-on : ${{ matrix.os }}
7164 steps :
7265 - uses : actions/checkout@v2
73- - uses : microsoft/playwright-github-action@v1.5.0
66+ - uses : microsoft/playwright-github-action@v1
7467 - name : Install Media Pack
7568 if : matrix.os == 'windows-latest'
7669 shell : powershell
@@ -80,17 +73,11 @@ jobs:
8073 with :
8174 distribution : zulu
8275 java-version : 8
83- - name : Cache Maven packages
84- uses : actions/cache@v2
85- with :
86- path : ~/.m2
87- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
88- restore-keys : ${{ runner.os }}-m2
8976 - name : Download drivers
9077 shell : bash
9178 run : scripts/download_driver_for_all_platforms.sh
92- - name : Build with Maven
93- run : mvn -B package -D skipTests --no-transfer-progress
79+ - name : Build & Install
80+ run : mvn -B install -D skipTests --no-transfer-progress
9481 - name : Run tests
9582 run : mvn test --no-transfer-progress --fail-at-end
9683 env :
@@ -106,23 +93,17 @@ jobs:
10693 runs-on : ubuntu-latest
10794 steps :
10895 - uses : actions/checkout@v2
109- - uses : microsoft/playwright-github-action@v1.5.0
96+ - uses : microsoft/playwright-github-action@v1
11097 - name : Set up JDK 17
11198 uses : actions/setup-java@v2
11299 with :
113100 distribution : adopt
114101 java-version : 17
115- - name : Cache Maven packages
116- uses : actions/cache@v2
117- with :
118- path : ~/.m2
119- key : m2-${{ hashFiles('**/pom.xml') }}
120- restore-keys : m2
121102 - name : Download drivers
122103 shell : bash
123104 run : scripts/download_driver_for_all_platforms.sh
124- - name : Build with Maven
125- run : mvn -B package -D skipTests --no-transfer-progress
105+ - name : Build & Install
106+ run : mvn -B install -D skipTests --no-transfer-progress
126107 - name : Run tests
127108 run : mvn test --no-transfer-progress --fail-at-end
128109 env :
@@ -132,7 +113,6 @@ jobs:
132113 env :
133114 BROWSER : ${{ matrix.browser }}
134115 run : |
135- mvn -B install -D skipTests --no-transfer-progress
136116 cd tools/test-spring-boot-starter
137117 mvn package -D skipTests --no-transfer-progress
138118 java -jar target/test-spring-boot*.jar
0 commit comments