3030 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3131
3232 - name : Build with Maven
33+ id : maven-build
3334 run : mvn -B -U -ntp verify --fail-at-end
3435
36+ - name : Store reports
37+ if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
38+ uses : actions/upload-artifact@v2
39+ with :
40+ name : linux-reports
41+ path : target/it-tests/*/build.log
42+
3543 windows :
3644 runs-on : windows-latest
3745 steps :
5159 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
5260
5361 - name : Build with Maven
62+ id : maven-build
5463 run : mvn -B -U -ntp verify --fail-at-end
5564
65+ - name : Store reports
66+ if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
67+ uses : actions/upload-artifact@v2
68+ with :
69+ name : windows-reports
70+ path : target/it-tests/*/build.log
71+
5672 test-jdks :
5773 needs : linux
5874 runs-on : ubuntu-latest
@@ -88,8 +104,15 @@ jobs:
88104 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
89105
90106 - name : Build with Maven
107+ id : maven-build
91108 run : mvn -B -U -ntp verify --fail-at-end
92109
110+ - name : Store reports
111+ if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
112+ uses : actions/upload-artifact@v2
113+ with :
114+ name : jdk-${{ matrix.java }}-reports
115+ path : target/it-tests/*/build.log
93116
94117 test-gwt :
95118 needs : linux
@@ -116,4 +139,12 @@ jobs:
116139 ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
117140
118141 - name : Build with Maven
142+ id : maven-build
119143 run : mvn -B -U -ntp verify --fail-at-end -DgwtVersion=${{ matrix.gwt }}
144+
145+ - name : Store reports
146+ if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
147+ uses : actions/upload-artifact@v2
148+ with :
149+ name : gwt-${{ matrix.gwt }}-reports
150+ path : target/it-tests/*/build.log
0 commit comments