35
35
36
36
steps :
37
37
- name : Checkout
38
- uses : actions/checkout@v3
38
+ uses : actions/checkout@v4
39
39
40
40
- name : Build compiler binaries
41
41
uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
@@ -44,13 +44,11 @@ jobs:
44
44
45
45
- name : Build ninja binary
46
46
uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
47
- env :
48
- LDFLAGS : -static
49
47
with :
50
48
args : sh -c "cd ninja && LDFLAGS=-static python3 configure.py --bootstrap"
51
49
52
50
- name : " Upload artifacts"
53
- uses : actions/upload-artifact@v3
51
+ uses : actions/upload-artifact@v4
54
52
with :
55
53
name : static-binaries-linux-${{runner.arch}}
56
54
path : |
@@ -67,11 +65,11 @@ jobs:
67
65
68
66
steps :
69
67
- name : Checkout
70
- uses : actions/checkout@v3
68
+ uses : actions/checkout@v4
71
69
72
70
- name : Download static linux binaries
73
71
if : runner.os == 'Linux'
74
- uses : actions/download-artifact@v3
72
+ uses : actions/download-artifact@v4
75
73
with :
76
74
name : static-binaries-linux-${{ runner.arch }}
77
75
82
80
chmod +x _build/install/default/bin/*
83
81
84
82
- name : Use Node.js
85
- uses : actions/setup-node@v3
83
+ uses : actions/setup-node@v4
86
84
with :
87
85
node-version : 16
88
86
93
91
run : node .github/workflows/get_artifact_info.js
94
92
95
93
- name : " Upload artifacts: binaries"
96
- uses : actions/upload-artifact@v3
94
+ uses : actions/upload-artifact@v4
97
95
with :
98
96
name : ${{ env.artifact_name }}
99
97
path : ${{ env.artifact_path }}
@@ -125,13 +123,13 @@ jobs:
125
123
git config --global core.eol lf
126
124
127
125
- name : Checkout
128
- uses : actions/checkout@v3
126
+ uses : actions/checkout@v4
129
127
with :
130
128
fetch-depth : 2 # to be able to check for changes in subfolder jscomp/syntax later
131
129
132
130
- name : Download static linux binaries
133
131
if : runner.os == 'Linux'
134
- uses : actions/download-artifact@v3
132
+ uses : actions/download-artifact@v4
135
133
with :
136
134
name : static-binaries-linux-${{ runner.arch }}
137
135
@@ -168,7 +166,7 @@ jobs:
168
166
run : opam exec -- dune build --display quiet --profile release
169
167
170
168
- name : Use Node.js
171
- uses : actions/setup-node@v3
169
+ uses : actions/setup-node@v4
172
170
with :
173
171
node-version : 16
174
172
@@ -177,7 +175,7 @@ jobs:
177
175
178
176
- name : " Windows: Use MSVC for ninja build"
179
177
if : runner.os == 'Windows'
180
- uses : TheMrMilchmann/setup-msvc-dev@v2
178
+ uses : TheMrMilchmann/setup-msvc-dev@v3
181
179
with :
182
180
arch : x64
183
181
@@ -257,14 +255,14 @@ jobs:
257
255
run : node .github/workflows/get_artifact_info.js
258
256
259
257
- name : " Upload artifacts: binaries"
260
- uses : actions/upload-artifact@v3
258
+ uses : actions/upload-artifact@v4
261
259
with :
262
260
name : ${{ env.artifact_name }}
263
261
path : ${{ env.artifact_path }}
264
262
265
263
- name : " Upload artifacts: lib/ocaml"
266
264
if : runner.os == 'Linux'
267
- uses : actions/upload-artifact@v3
265
+ uses : actions/upload-artifact@v4
268
266
with :
269
267
name : lib-ocaml
270
268
path : lib/ocaml
@@ -275,18 +273,18 @@ jobs:
275
273
276
274
steps :
277
275
- name : Checkout
278
- uses : actions/checkout@v3
276
+ uses : actions/checkout@v4
279
277
280
278
- name : Use Node.js
281
- uses : actions/setup-node@v3
279
+ uses : actions/setup-node@v4
282
280
with :
283
281
node-version : 16
284
282
285
283
- name : NPM install
286
284
run : npm ci --ignore-scripts
287
285
288
286
- name : Download artifacts
289
- uses : actions/download-artifact@v3
287
+ uses : actions/download-artifact@v4
290
288
291
289
- name : Move artifacts
292
290
run : ./scripts/moveArtifacts.sh
@@ -309,7 +307,7 @@ jobs:
309
307
run : node .github/workflows/prepare_package_upload.js ${{ github.event.pull_request.head.sha }}
310
308
311
309
- name : " Upload artifact: npm packages"
312
- uses : actions/upload-artifact@v3
310
+ uses : actions/upload-artifact@v4
313
311
with :
314
312
name : npm-packages
315
313
path : |
@@ -336,15 +334,15 @@ jobs:
336
334
337
335
steps :
338
336
- name : Checkout
339
- uses : actions/checkout@v3
337
+ uses : actions/checkout@v4
340
338
341
339
- name : Use Node.js
342
- uses : actions/setup-node@v3
340
+ uses : actions/setup-node@v4
343
341
with :
344
342
node-version : 16
345
343
346
344
- name : Download artifacts
347
- uses : actions/download-artifact@v3
345
+ uses : actions/download-artifact@v4
348
346
with :
349
347
name : npm-packages
350
348
path : packages/test
@@ -368,16 +366,16 @@ jobs:
368
366
369
367
steps :
370
368
- name : Checkout
371
- uses : actions/checkout@v3
369
+ uses : actions/checkout@v4
372
370
373
371
- name : Use Node.js
374
- uses : actions/setup-node@v3
372
+ uses : actions/setup-node@v4
375
373
with :
376
374
node-version : 16
377
375
registry-url : https://registry.npmjs.org # Needed to make auth work for publishing
378
376
379
377
- name : Download artifacts
380
- uses : actions/download-artifact@v3
378
+ uses : actions/download-artifact@v4
381
379
with :
382
380
name : npm-packages
383
381
0 commit comments