Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6c3b55a

Browse files
committedFeb 2, 2024
Github actions: upgrade some actions to v4 to fix deprecation warnings
1 parent 948f49c commit 6c3b55a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed
 

‎.github/workflows/ci.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
4444

4545
- name: Checkout
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747

4848
- name: Build compiler binaries
4949
run: opam exec -- dune build --display quiet --profile static
@@ -55,7 +55,7 @@ jobs:
5555
run: python3 configure.py --bootstrap --verbose
5656

5757
- name: "Upload artifacts"
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: static-binaries-linux-${{runner.arch}}
6161
path: |
@@ -72,7 +72,7 @@ jobs:
7272

7373
steps:
7474
- name: Checkout
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676

7777
- name: Download static linux binaries
7878
if: runner.os == 'Linux'
@@ -87,7 +87,7 @@ jobs:
8787
chmod +x _build/install/default/bin/*
8888
8989
- name: Use Node.js
90-
uses: actions/setup-node@v3
90+
uses: actions/setup-node@v4
9191
with:
9292
node-version: 16
9393

@@ -98,7 +98,7 @@ jobs:
9898
run: node .github/workflows/get_artifact_info.js
9999

100100
- name: "Upload artifacts: binaries"
101-
uses: actions/upload-artifact@v3
101+
uses: actions/upload-artifact@v4
102102
with:
103103
name: ${{ env.artifact_name }}
104104
path: ${{ env.artifact_path }}
@@ -130,7 +130,7 @@ jobs:
130130
git config --global core.eol lf
131131
132132
- name: Checkout
133-
uses: actions/checkout@v3
133+
uses: actions/checkout@v4
134134
with:
135135
fetch-depth: 2 # to be able to check for changes in subfolder jscomp/syntax later
136136

@@ -173,7 +173,7 @@ jobs:
173173
run: opam exec -- dune build --display quiet --profile release
174174

175175
- name: Use Node.js
176-
uses: actions/setup-node@v3
176+
uses: actions/setup-node@v4
177177
with:
178178
node-version: 16
179179

@@ -262,14 +262,14 @@ jobs:
262262
run: node .github/workflows/get_artifact_info.js
263263

264264
- name: "Upload artifacts: binaries"
265-
uses: actions/upload-artifact@v3
265+
uses: actions/upload-artifact@v4
266266
with:
267267
name: ${{ env.artifact_name }}
268268
path: ${{ env.artifact_path }}
269269

270270
- name: "Upload artifacts: lib/ocaml"
271271
if: runner.os == 'Linux'
272-
uses: actions/upload-artifact@v3
272+
uses: actions/upload-artifact@v4
273273
with:
274274
name: lib-ocaml
275275
path: lib/ocaml
@@ -280,10 +280,10 @@ jobs:
280280

281281
steps:
282282
- name: Checkout
283-
uses: actions/checkout@v3
283+
uses: actions/checkout@v4
284284

285285
- name: Use Node.js
286-
uses: actions/setup-node@v3
286+
uses: actions/setup-node@v4
287287
with:
288288
node-version: 16
289289

@@ -314,7 +314,7 @@ jobs:
314314
run: node .github/workflows/prepare_package_upload.js ${{ github.event.pull_request.head.sha }}
315315

316316
- name: "Upload artifact: npm packages"
317-
uses: actions/upload-artifact@v3
317+
uses: actions/upload-artifact@v4
318318
with:
319319
name: npm-packages
320320
path: |
@@ -341,10 +341,10 @@ jobs:
341341

342342
steps:
343343
- name: Checkout
344-
uses: actions/checkout@v3
344+
uses: actions/checkout@v4
345345

346346
- name: Use Node.js
347-
uses: actions/setup-node@v3
347+
uses: actions/setup-node@v4
348348
with:
349349
node-version: 16
350350

@@ -373,10 +373,10 @@ jobs:
373373

374374
steps:
375375
- name: Checkout
376-
uses: actions/checkout@v3
376+
uses: actions/checkout@v4
377377

378378
- name: Use Node.js
379-
uses: actions/setup-node@v3
379+
uses: actions/setup-node@v4
380380
with:
381381
node-version: 16
382382
registry-url: https://registry.npmjs.org # Needed to make auth work for publishing

0 commit comments

Comments
 (0)
Please sign in to comment.