@@ -14,13 +14,13 @@ jobs:
14
14
linux :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v3
18
18
19
19
- name : Setup environment
20
20
run : echo "JAVA_HOME=${JAVA_HOME_8_X64}" | tee -a $GITHUB_ENV
21
21
22
22
- name : Cache Maven dependencies
23
- uses : actions/cache@v2
23
+ uses : actions/cache@v3
24
24
with :
25
25
path : |
26
26
~/.m2/repository/
@@ -35,21 +35,21 @@ jobs:
35
35
36
36
- name : Store reports
37
37
if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
38
- uses : actions/upload-artifact@v2
38
+ uses : actions/upload-artifact@v3
39
39
with :
40
40
name : linux-reports
41
41
path : target/it-tests/*/build.log
42
42
43
43
windows :
44
44
runs-on : windows-latest
45
45
steps :
46
- - uses : actions/checkout@v2
46
+ - uses : actions/checkout@v3
47
47
48
48
- name : Setup environment
49
49
run : echo "JAVA_HOME=${Env:JAVA_HOME_11_X64}" | Tee-Object -FilePath $env:GITHUB_ENV -Append
50
50
51
51
- name : Cache Maven dependencies
52
- uses : actions/cache@v2
52
+ uses : actions/cache@v3
53
53
with :
54
54
path : |
55
55
~/.m2/repository/
64
64
65
65
- name : Store reports
66
66
if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
67
- uses : actions/upload-artifact@v2
67
+ uses : actions/upload-artifact@v3
68
68
with :
69
69
name : windows-reports
70
70
path : target/it-tests/*/build.log
@@ -76,25 +76,24 @@ jobs:
76
76
matrix :
77
77
java : [ 11, 17 ]
78
78
steps :
79
- - uses : actions/checkout@v2
79
+ - uses : actions/checkout@v3
80
80
81
81
- name : Setup JDK ${{ matrix.java }}
82
82
id : setup-test-java
83
- if : matrix.java != 11
84
- uses : actions/setup-java@v1
83
+ uses : actions/setup-java@v3
85
84
with :
86
85
java-version : ${{ matrix.java }}
86
+ distribution : temurin
87
87
88
88
- name : Setup JAVA_HOME_${{ matrix.java }}_X64 environment variable
89
- if : matrix.java != 11
90
89
run : echo "JAVA_HOME_${{ matrix.java }}_X64=${{ steps.setup-test-java.outputs.path }}" | tee -a $GITHUB_ENV
91
90
92
91
# TODO: investigate only running IT tests with that JDK, rather than the whole build, through Toolchains
93
92
- name : Setup environment
94
93
run : echo "JAVA_HOME=${JAVA_HOME_${{ matrix.java }}_X64}" | tee -a $GITHUB_ENV
95
94
96
95
- name : Cache Maven dependencies
97
- uses : actions/cache@v2
96
+ uses : actions/cache@v3
98
97
with :
99
98
path : |
100
99
~/.m2/repository/
@@ -109,7 +108,7 @@ jobs:
109
108
110
109
- name : Store reports
111
110
if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
112
- uses : actions/upload-artifact@v2
111
+ uses : actions/upload-artifact@v3
113
112
with :
114
113
name : jdk-${{ matrix.java }}-reports
115
114
path : target/it-tests/*/build.log
@@ -121,13 +120,13 @@ jobs:
121
120
matrix :
122
121
gwt : [ "2.8.2", "HEAD-SNAPSHOT" ]
123
122
steps :
124
- - uses : actions/checkout@v2
123
+ - uses : actions/checkout@v3
125
124
126
125
- name : Setup environment
127
126
run : echo "JAVA_HOME=${JAVA_HOME_8_X64}" | tee -a $GITHUB_ENV
128
127
129
128
- name : Cache Maven dependencies
130
- uses : actions/cache@v2
129
+ uses : actions/cache@v3
131
130
with :
132
131
path : |
133
132
~/.m2/repository/
@@ -144,7 +143,7 @@ jobs:
144
143
145
144
- name : Store reports
146
145
if : steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
147
- uses : actions/upload-artifact@v2
146
+ uses : actions/upload-artifact@v3
148
147
with :
149
148
name : gwt-${{ matrix.gwt }}-reports
150
149
path : target/it-tests/*/build.log
@@ -158,13 +157,13 @@ jobs:
158
157
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
159
158
runs-on : ubuntu-latest
160
159
steps :
161
- - uses : actions/checkout@v2
160
+ - uses : actions/checkout@v3
162
161
163
162
- name : Setup environment
164
163
run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" | tee -a $GITHUB_ENV
165
164
166
165
- name : Cache Maven dependencies
167
- uses : actions/cache@v2
166
+ uses : actions/cache@v3
168
167
with :
169
168
path : |
170
169
~/.m2/repository/
0 commit comments