3535
3636 steps :
3737 - name : Checkout
38- uses : actions/checkout@v3
38+ uses : actions/checkout@v4
3939
4040 - name : Build compiler binaries
4141 uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
@@ -44,13 +44,11 @@ jobs:
4444
4545 - name : Build ninja binary
4646 uses : docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-4.14.1-02
47- env :
48- LDFLAGS : -static
4947 with :
5048 args : sh -c "cd ninja && LDFLAGS=-static python3 configure.py --bootstrap"
5149
5250 - name : " Upload artifacts"
53- uses : actions/upload-artifact@v3
51+ uses : actions/upload-artifact@v4
5452 with :
5553 name : static-binaries-linux-${{runner.arch}}
5654 path : |
@@ -67,11 +65,11 @@ jobs:
6765
6866 steps :
6967 - name : Checkout
70- uses : actions/checkout@v3
68+ uses : actions/checkout@v4
7169
7270 - name : Download static linux binaries
7371 if : runner.os == 'Linux'
74- uses : actions/download-artifact@v3
72+ uses : actions/download-artifact@v4
7573 with :
7674 name : static-binaries-linux-${{ runner.arch }}
7775
8280 chmod +x _build/install/default/bin/*
8381
8482 - name : Use Node.js
85- uses : actions/setup-node@v3
83+ uses : actions/setup-node@v4
8684 with :
8785 node-version : 16
8886
9391 run : node .github/workflows/get_artifact_info.js
9492
9593 - name : " Upload artifacts: binaries"
96- uses : actions/upload-artifact@v3
94+ uses : actions/upload-artifact@v4
9795 with :
9896 name : ${{ env.artifact_name }}
9997 path : ${{ env.artifact_path }}
@@ -125,13 +123,13 @@ jobs:
125123 git config --global core.eol lf
126124
127125 - name : Checkout
128- uses : actions/checkout@v3
126+ uses : actions/checkout@v4
129127 with :
130128 fetch-depth : 2 # to be able to check for changes in subfolder jscomp/syntax later
131129
132130 - name : Download static linux binaries
133131 if : runner.os == 'Linux'
134- uses : actions/download-artifact@v3
132+ uses : actions/download-artifact@v4
135133 with :
136134 name : static-binaries-linux-${{ runner.arch }}
137135
@@ -168,7 +166,7 @@ jobs:
168166 run : opam exec -- dune build --display quiet --profile release
169167
170168 - name : Use Node.js
171- uses : actions/setup-node@v3
169+ uses : actions/setup-node@v4
172170 with :
173171 node-version : 16
174172
@@ -177,7 +175,7 @@ jobs:
177175
178176 - name : " Windows: Use MSVC for ninja build"
179177 if : runner.os == 'Windows'
180- uses : TheMrMilchmann/setup-msvc-dev@v2
178+ uses : TheMrMilchmann/setup-msvc-dev@v3
181179 with :
182180 arch : x64
183181
@@ -257,14 +255,14 @@ jobs:
257255 run : node .github/workflows/get_artifact_info.js
258256
259257 - name : " Upload artifacts: binaries"
260- uses : actions/upload-artifact@v3
258+ uses : actions/upload-artifact@v4
261259 with :
262260 name : ${{ env.artifact_name }}
263261 path : ${{ env.artifact_path }}
264262
265263 - name : " Upload artifacts: lib/ocaml"
266264 if : runner.os == 'Linux'
267- uses : actions/upload-artifact@v3
265+ uses : actions/upload-artifact@v4
268266 with :
269267 name : lib-ocaml
270268 path : lib/ocaml
@@ -275,18 +273,18 @@ jobs:
275273
276274 steps :
277275 - name : Checkout
278- uses : actions/checkout@v3
276+ uses : actions/checkout@v4
279277
280278 - name : Use Node.js
281- uses : actions/setup-node@v3
279+ uses : actions/setup-node@v4
282280 with :
283281 node-version : 16
284282
285283 - name : NPM install
286284 run : npm ci --ignore-scripts
287285
288286 - name : Download artifacts
289- uses : actions/download-artifact@v3
287+ uses : actions/download-artifact@v4
290288
291289 - name : Move artifacts
292290 run : ./scripts/moveArtifacts.sh
@@ -309,7 +307,7 @@ jobs:
309307 run : node .github/workflows/prepare_package_upload.js ${{ github.event.pull_request.head.sha }}
310308
311309 - name : " Upload artifact: npm packages"
312- uses : actions/upload-artifact@v3
310+ uses : actions/upload-artifact@v4
313311 with :
314312 name : npm-packages
315313 path : |
@@ -336,15 +334,15 @@ jobs:
336334
337335 steps :
338336 - name : Checkout
339- uses : actions/checkout@v3
337+ uses : actions/checkout@v4
340338
341339 - name : Use Node.js
342- uses : actions/setup-node@v3
340+ uses : actions/setup-node@v4
343341 with :
344342 node-version : 16
345343
346344 - name : Download artifacts
347- uses : actions/download-artifact@v3
345+ uses : actions/download-artifact@v4
348346 with :
349347 name : npm-packages
350348 path : packages/test
@@ -368,16 +366,16 @@ jobs:
368366
369367 steps :
370368 - name : Checkout
371- uses : actions/checkout@v3
369+ uses : actions/checkout@v4
372370
373371 - name : Use Node.js
374- uses : actions/setup-node@v3
372+ uses : actions/setup-node@v4
375373 with :
376374 node-version : 16
377375 registry-url : https://registry.npmjs.org # Needed to make auth work for publishing
378376
379377 - name : Download artifacts
380- uses : actions/download-artifact@v3
378+ uses : actions/download-artifact@v4
381379 with :
382380 name : npm-packages
383381
0 commit comments