@@ -36,13 +36,13 @@ jobs:
3636 git config --global core.autocrlf false
3737 git config --global core.eol lf
3838
39- - uses : actions/checkout@v2.3.4
39+ - uses : actions/checkout@v3
4040
4141 - name : Cache OCaml's opam
42- uses : actions/cache@v2.1.5
42+ uses : actions/cache@v3
4343 with :
4444 path : ~/.opam
45- key : ${{matrix.os}}-rescript-vscode-v3
45+ key : ${{matrix.os}}-rescript-vscode-v4
4646
4747 - name : Use OCaml
4848 uses : ocaml/setup-ocaml@v2
7676 mv rescript-editor-analysis.exe ${{matrix.artifact-folder}}
7777 tar -cvf binary.tar ${{matrix.artifact-folder}}
7878
79- - uses : actions/upload-artifact@v2
79+ - uses : actions/upload-artifact@v3
8080 with :
8181 name : ${{matrix.os}}
8282 path : analysis/binary.tar
@@ -86,42 +86,42 @@ jobs:
8686 runs-on : ubuntu-20.04
8787
8888 steps :
89- - uses : actions/checkout@v2.3.4
89+ - uses : actions/checkout@v3
9090
9191 - name : Use Node.js
92- uses : actions/setup-node@v2.1.5
92+ uses : actions/setup-node@v3
9393 with :
94- node-version : 14.4.0
94+ node-version : 16
9595
9696 - run : npm ci
9797 - run : npm run compile
9898
9999 - name : Download MacOS binary
100- uses : actions/download-artifact@v3.0.0
100+ uses : actions/download-artifact@v3
101101 with :
102102 name : macos-latest
103103 path : ./server/analysis_binaries
104104 - run : tar -xvf binary.tar
105105 working-directory : ./server/analysis_binaries
106106
107107 - name : Download MacOS ARM binary
108- uses : actions/download-artifact@v3.0.0
108+ uses : actions/download-artifact@v3
109109 with :
110110 name : macos-arm
111111 path : ./server/analysis_binaries
112112 - run : tar -xvf binary.tar
113113 working-directory : ./server/analysis_binaries
114114
115115 - name : Download Linux binary
116- uses : actions/download-artifact@v3.0.0
116+ uses : actions/download-artifact@v3
117117 with :
118118 name : ubuntu-20.04
119119 path : ./server/analysis_binaries
120120 - run : tar -xvf binary.tar
121121 working-directory : ./server/analysis_binaries
122122
123123 - name : Download Windows binary
124- uses : actions/download-artifact@v3.0.0
124+ uses : actions/download-artifact@v3
125125 with :
126126 name : windows-latest
127127 path : ./server/analysis_binaries
@@ -163,19 +163,19 @@ jobs:
163163 if : startsWith(github.ref, 'refs/tags/')
164164 run : npx vsce package -o rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix ${{ steps.tag_name.outputs.tag }} --no-git-tag-version
165165
166- - uses : actions/upload-artifact@v2
166+ - uses : actions/upload-artifact@v3
167167 if : github.ref != 'refs/heads/master'
168168 with :
169169 name : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
170170 path : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
171171
172- - uses : actions/upload-artifact@v2
172+ - uses : actions/upload-artifact@v3
173173 if : github.ref == 'refs/heads/master'
174174 with :
175175 name : rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix
176176 path : rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix
177177
178- - uses : actions/upload-artifact@v2
178+ - uses : actions/upload-artifact@v3
179179 if : startsWith(github.ref, 'refs/tags/')
180180 with :
181181 name : rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix
0 commit comments