@@ -20,15 +20,15 @@ jobs:
20
20
FORCE_COLOR : ' 1'
21
21
steps :
22
22
- name : Setup Java
23
- uses : actions/setup-java@v2
23
+ uses : actions/setup-java@v3
24
24
with :
25
25
distribution : adopt-hotspot
26
26
java-version : 17
27
27
java-package : jdk
28
28
architecture : x64
29
29
- name : Setup Bazelisk
30
30
uses : bazelbuild/setup-bazelisk@v2
31
- - uses : actions/checkout@v2
31
+ - uses : actions/checkout@v3
32
32
with :
33
33
submodules : recursive
34
34
- name : Fetch submodule tags
45
45
id : yarn-cache-dir-path
46
46
run : echo "::set-output name=dir::$(yarn cache dir)"
47
47
- name : Yarn and maven cache
48
- uses : actions/cache@v2
48
+ uses : actions/cache@v3
49
49
with :
50
50
path : |
51
51
${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -58,12 +58,12 @@ jobs:
58
58
- name : Tests
59
59
run : node_modules/.bin/mocha --colors
60
60
- name : Upload contrib folder
61
- uses : actions/upload-artifact@v2
61
+ uses : actions/upload-artifact@v3
62
62
with :
63
63
name : Contrib folder
64
64
path : compiler/contrib
65
65
- name : Upload compiler jar
66
- uses : actions/upload-artifact@v2
66
+ uses : actions/upload-artifact@v3
67
67
with :
68
68
name : Compiler.jar
69
69
path : packages/google-closure-compiler-java/compiler.jar
@@ -78,13 +78,13 @@ jobs:
78
78
FORCE_COLOR : ' 1'
79
79
steps :
80
80
- name : Setup Java
81
- uses : actions/setup-java@v2
81
+ uses : actions/setup-java@v3
82
82
with :
83
83
distribution : adopt-hotspot
84
84
java-version : 17
85
85
java-package : jdk
86
86
architecture : x64
87
- - uses : actions/checkout@v2
87
+ - uses : actions/checkout@v3
88
88
- name : Use Node.js ${{ env.NODE_VERSION }}
89
89
uses : actions/setup-node@v3
90
90
with :
@@ -115,7 +115,7 @@ jobs:
115
115
id : yarn-cache-dir-path
116
116
run : echo "::set-output name=dir::$(yarn cache dir)"
117
117
- name : Cache yarn
118
- uses : actions/cache@v2
118
+ uses : actions/cache@v3
119
119
id : yarn-cache
120
120
with :
121
121
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -133,7 +133,7 @@ jobs:
133
133
- name : Tests
134
134
run : yarn workspaces run test --colors
135
135
- name : Upload artifacts
136
- uses : actions/upload-artifact@v2
136
+ uses : actions/upload-artifact@v3
137
137
with :
138
138
name : Linux image
139
139
path : packages/google-closure-compiler-linux/compiler
@@ -148,13 +148,13 @@ jobs:
148
148
FORCE_COLOR : ' 1'
149
149
steps :
150
150
- name : Setup Java
151
- uses : actions/setup-java@v2
151
+ uses : actions/setup-java@v3
152
152
with :
153
153
distribution : adopt-hotspot
154
154
java-version : 17
155
155
java-package : jdk
156
156
architecture : x64
157
- - uses : actions/checkout@v2
157
+ - uses : actions/checkout@v3
158
158
- name : Use Node.js ${{ env.NODE_VERSION }}
159
159
uses : actions/setup-node@v3
160
160
with :
@@ -181,7 +181,7 @@ jobs:
181
181
id : yarn-cache-dir-path
182
182
run : echo "::set-output name=dir::$(yarn cache dir)"
183
183
- name : Cache yarn
184
- uses : actions/cache@v2
184
+ uses : actions/cache@v3
185
185
id : yarn-cache
186
186
with :
187
187
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -199,7 +199,7 @@ jobs:
199
199
- name : Tests
200
200
run : yarn workspaces run test --colors
201
201
- name : Upload artifacts
202
- uses : actions/upload-artifact@v2
202
+ uses : actions/upload-artifact@v3
203
203
with :
204
204
name : MacOS image
205
205
path : packages/google-closure-compiler-osx/compiler
@@ -214,13 +214,13 @@ jobs:
214
214
FORCE_COLOR : ' 1'
215
215
steps :
216
216
- name : Setup Java
217
- uses : actions/setup-java@v2
217
+ uses : actions/setup-java@v3
218
218
with :
219
219
distribution : adopt-hotspot
220
220
java-version : 17
221
221
java-package : jdk
222
222
architecture : x64
223
- - uses : actions/checkout@v2
223
+ - uses : actions/checkout@v3
224
224
- name : Use Node.js ${{ env.NODE_VERSION }}
225
225
uses : actions/setup-node@v3
226
226
with :
@@ -245,7 +245,7 @@ jobs:
245
245
id : yarn-cache-dir-path
246
246
run : echo "::set-output name=dir::$(yarn cache dir)"
247
247
- name : Cache yarn
248
- uses : actions/cache@v2
248
+ uses : actions/cache@v3
249
249
id : yarn-cache
250
250
with :
251
251
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -265,7 +265,7 @@ jobs:
265
265
echo "Running Tests"
266
266
yarn workspaces run test --colors
267
267
- name : Upload artifacts
268
- uses : actions/upload-artifact@v2
268
+ uses : actions/upload-artifact@v3
269
269
with :
270
270
name : Windows image
271
271
path : packages/google-closure-compiler-windows/compiler.exe
@@ -285,7 +285,7 @@ jobs:
285
285
- build-macos
286
286
- build-windows
287
287
steps :
288
- - uses : actions/checkout@v2
288
+ - uses : actions/checkout@v3
289
289
- name : Use Node.js ${{ env.NODE_VERSION }}
290
290
uses : actions/setup-node@v3
291
291
with :
@@ -325,7 +325,7 @@ jobs:
325
325
id : yarn-cache-dir-path
326
326
run : echo "::set-output name=dir::$(yarn cache dir)"
327
327
- name : Cache yarn
328
- uses : actions/cache@v2
328
+ uses : actions/cache@v3
329
329
id : yarn-cache
330
330
with :
331
331
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
0 commit comments