@@ -45,10 +45,10 @@ jobs:
45
45
git config --global core.autocrlf false
46
46
git config --global core.eol lf
47
47
48
- - uses : actions/checkout@v3
48
+ - uses : actions/checkout@v4
49
49
50
50
- name : Cache OCaml's opam
51
- uses : actions/cache@v3
51
+ uses : actions/cache@v4
52
52
with :
53
53
path : ~/.opam
54
54
key : ${{matrix.os}}-rescript-vscode-v4
59
59
ocaml-compiler : 4.14.x
60
60
61
61
- name : Use Node.js
62
- uses : actions/setup-node@v3
62
+ uses : actions/setup-node@v4
63
63
with :
64
64
node-version : 16
65
65
registry-url : ' https://registry.npmjs.org'
89
89
mv rescript-tools.exe ${{matrix.artifact-folder}}
90
90
tar -cvf binary.tar ${{matrix.artifact-folder}}
91
91
92
- - uses : actions/upload-artifact@v3
92
+ - uses : actions/upload-artifact@v4
93
93
with :
94
94
name : ${{matrix.os}}
95
95
path : binary.tar
@@ -99,10 +99,10 @@ jobs:
99
99
runs-on : ubuntu-20.04
100
100
101
101
steps :
102
- - uses : actions/checkout@v3
102
+ - uses : actions/checkout@v4
103
103
104
104
- name : Use Node.js
105
- uses : actions/setup-node@v3
105
+ uses : actions/setup-node@v4
106
106
with :
107
107
node-version : 16
108
108
registry-url : ' https://registry.npmjs.org'
@@ -111,31 +111,31 @@ jobs:
111
111
- run : npm run compile
112
112
113
113
- name : Download MacOS binary
114
- uses : actions/download-artifact@v3
114
+ uses : actions/download-artifact@v4
115
115
with :
116
116
name : macos-13
117
117
path : binaries
118
118
- run : tar -xvf binary.tar
119
119
working-directory : binaries
120
120
121
121
- name : Download MacOS ARM binary
122
- uses : actions/download-artifact@v3
122
+ uses : actions/download-artifact@v4
123
123
with :
124
124
name : macos-14
125
125
path : binaries
126
126
- run : tar -xvf binary.tar
127
127
working-directory : binaries
128
128
129
129
- name : Download Linux binary
130
- uses : actions/download-artifact@v3
130
+ uses : actions/download-artifact@v4
131
131
with :
132
132
name : ubuntu-20.04
133
133
path : binaries
134
134
- run : tar -xvf binary.tar
135
135
working-directory : binaries
136
136
137
137
- name : Download Windows binary
138
- uses : actions/download-artifact@v3
138
+ uses : actions/download-artifact@v4
139
139
with :
140
140
name : windows-latest
141
141
path : binaries
@@ -191,19 +191,19 @@ jobs:
191
191
if : startsWith(github.ref, 'refs/tags/')
192
192
run : npx vsce package -o rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix ${{ steps.tag_name.outputs.tag }} --no-git-tag-version
193
193
194
- - uses : actions/upload-artifact@v3
194
+ - uses : actions/upload-artifact@v4
195
195
if : github.ref != 'refs/heads/master'
196
196
with :
197
197
name : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
198
198
path : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
199
199
200
- - uses : actions/upload-artifact@v3
200
+ - uses : actions/upload-artifact@v4
201
201
if : github.ref == 'refs/heads/master'
202
202
with :
203
203
name : rescript-vscode-latest-master.vsix
204
204
path : rescript-vscode-latest-master.vsix
205
205
206
- - uses : actions/upload-artifact@v3
206
+ - uses : actions/upload-artifact@v4
207
207
if : startsWith(github.ref, 'refs/tags/')
208
208
with :
209
209
name : rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix
0 commit comments