@@ -36,13 +36,13 @@ jobs:
36
36
git config --global core.autocrlf false
37
37
git config --global core.eol lf
38
38
39
- - uses : actions/checkout@v2.3.4
39
+ - uses : actions/checkout@v3
40
40
41
41
- name : Cache OCaml's opam
42
- uses : actions/cache@v2.1.5
42
+ uses : actions/cache@v3
43
43
with :
44
44
path : ~/.opam
45
- key : ${{matrix.os}}-rescript-vscode-v3
45
+ key : ${{matrix.os}}-rescript-vscode-v4
46
46
47
47
- name : Use OCaml
48
48
uses : ocaml/setup-ocaml@v2
76
76
mv rescript-editor-analysis.exe ${{matrix.artifact-folder}}
77
77
tar -cvf binary.tar ${{matrix.artifact-folder}}
78
78
79
- - uses : actions/upload-artifact@v2
79
+ - uses : actions/upload-artifact@v3
80
80
with :
81
81
name : ${{matrix.os}}
82
82
path : analysis/binary.tar
@@ -86,42 +86,42 @@ jobs:
86
86
runs-on : ubuntu-20.04
87
87
88
88
steps :
89
- - uses : actions/checkout@v2.3.4
89
+ - uses : actions/checkout@v3
90
90
91
91
- name : Use Node.js
92
- uses : actions/setup-node@v2.1.5
92
+ uses : actions/setup-node@v3
93
93
with :
94
- node-version : 14.4.0
94
+ node-version : 16
95
95
96
96
- run : npm ci
97
97
- run : npm run compile
98
98
99
99
- name : Download MacOS binary
100
- uses : actions/download-artifact@v3.0.0
100
+ uses : actions/download-artifact@v3
101
101
with :
102
102
name : macos-latest
103
103
path : ./server/analysis_binaries
104
104
- run : tar -xvf binary.tar
105
105
working-directory : ./server/analysis_binaries
106
106
107
107
- name : Download MacOS ARM binary
108
- uses : actions/download-artifact@v3.0.0
108
+ uses : actions/download-artifact@v3
109
109
with :
110
110
name : macos-arm
111
111
path : ./server/analysis_binaries
112
112
- run : tar -xvf binary.tar
113
113
working-directory : ./server/analysis_binaries
114
114
115
115
- name : Download Linux binary
116
- uses : actions/download-artifact@v3.0.0
116
+ uses : actions/download-artifact@v3
117
117
with :
118
118
name : ubuntu-20.04
119
119
path : ./server/analysis_binaries
120
120
- run : tar -xvf binary.tar
121
121
working-directory : ./server/analysis_binaries
122
122
123
123
- name : Download Windows binary
124
- uses : actions/download-artifact@v3.0.0
124
+ uses : actions/download-artifact@v3
125
125
with :
126
126
name : windows-latest
127
127
path : ./server/analysis_binaries
@@ -163,19 +163,19 @@ jobs:
163
163
if : startsWith(github.ref, 'refs/tags/')
164
164
run : npx vsce package -o rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix ${{ steps.tag_name.outputs.tag }} --no-git-tag-version
165
165
166
- - uses : actions/upload-artifact@v2
166
+ - uses : actions/upload-artifact@v3
167
167
if : github.ref != 'refs/heads/master'
168
168
with :
169
169
name : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
170
170
path : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
171
171
172
- - uses : actions/upload-artifact@v2
172
+ - uses : actions/upload-artifact@v3
173
173
if : github.ref == 'refs/heads/master'
174
174
with :
175
175
name : rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix
176
176
path : rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix
177
177
178
- - uses : actions/upload-artifact@v2
178
+ - uses : actions/upload-artifact@v3
179
179
if : startsWith(github.ref, 'refs/tags/')
180
180
with :
181
181
name : rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix
0 commit comments