4646 options : --user root
4747
4848 steps :
49- - uses : actions/checkout@v3
49+ - uses : actions/checkout@v6
5050 with :
5151 repository : ${{ env.TARGET_REPO }}
5252 ref : ${{ env.TARGET_REF }}
6565 mv ./_build/default/bin/bin.exe ppx.exe
6666
6767 - name : (only on release) Upload artifacts ${{ matrix.artifact }}
68- uses : actions/upload-artifact@master
68+ uses : actions/upload-artifact@v7
6969 with :
7070 name : ${{ matrix.artifact }}
7171 path : src/ppx.exe
@@ -81,13 +81,13 @@ jobs:
8181 ocaml-compiler : 4.14.2
8282
8383 steps :
84- - uses : actions/checkout@v3
84+ - uses : actions/checkout@v6
8585 with :
8686 repository : ${{ env.TARGET_REPO }}
8787 ref : ${{ env.TARGET_REF }}
8888
8989 - name : Use OCaml ${{ env.ocaml-compiler }}
90- uses : ocaml/setup-ocaml@v2
90+ uses : ocaml/setup-ocaml@v3
9191 with :
9292 ocaml-compiler : ${{ env.ocaml-compiler }}
9393
@@ -102,7 +102,7 @@ jobs:
102102 mv ./_build/default/bin/bin.exe ppx.exe
103103
104104 - name : Upload artifacts
105- uses : actions/upload-artifact@master
105+ uses : actions/upload-artifact@v7
106106 with :
107107 name : macOS-x64
108108 path : src/ppx.exe
@@ -118,13 +118,13 @@ jobs:
118118 ocaml-compiler : 4.14.2
119119
120120 steps :
121- - uses : actions/checkout@v3
121+ - uses : actions/checkout@v6
122122 with :
123123 repository : ${{ env.TARGET_REPO }}
124124 ref : ${{ env.TARGET_REF }}
125125
126126 - name : Use OCaml ${{ env.ocaml-compiler }}
127- uses : ocaml/setup-ocaml@v2
127+ uses : ocaml/setup-ocaml@v3
128128 with :
129129 ocaml-compiler : ${{ env.ocaml-compiler }}
130130
@@ -139,7 +139,7 @@ jobs:
139139 mv ./_build/default/bin/bin.exe ppx.exe
140140
141141 - name : Upload artifacts
142- uses : actions/upload-artifact@master
142+ uses : actions/upload-artifact@v7
143143 with :
144144 name : macOS-arm64
145145 path : src/ppx.exe
@@ -158,13 +158,13 @@ jobs:
158158 - 4.14.2
159159
160160 steps :
161- - uses : actions/checkout@v3
161+ - uses : actions/checkout@v6
162162 with :
163163 repository : ${{ env.TARGET_REPO }}
164164 ref : ${{ env.TARGET_REF }}
165165
166166 - name : Use OCaml ${{ matrix.ocaml-compiler}}
167- uses : ocaml/setup-ocaml@v2
167+ uses : ocaml/setup-ocaml@v3
168168 with :
169169 ocaml-compiler : ${{ matrix.ocaml-compiler }}
170170
@@ -179,7 +179,7 @@ jobs:
179179 mv ./_build/default/bin/bin.exe ppx.exe
180180
181181 - name : (only on release) Upload artifacts ${{ matrix.os }}
182- uses : actions/upload-artifact@master
182+ uses : actions/upload-artifact@v7
183183 with :
184184 name : ${{ matrix.os }}
185185 path : src/ppx.exe
@@ -190,11 +190,11 @@ jobs:
190190 name : (only on release) Publish
191191 runs-on : ubuntu-latest
192192 steps :
193- - uses : actions/checkout@v3
193+ - uses : actions/checkout@v6
194194 with :
195195 repository : ${{ env.TARGET_REPO }}
196196 ref : ${{ env.TARGET_REF }}
197- - uses : actions/setup-node@v4
197+ - uses : actions/setup-node@v6
198198 with :
199199 node-version : 20
200200 registry-url : " https://registry.npmjs.org"
@@ -204,35 +204,35 @@ jobs:
204204
205205 - name : Download Linux x64 artifacts
206206 if : success()
207- uses : actions/download-artifact@master
207+ uses : actions/download-artifact@v7
208208 with :
209209 name : linux-x64
210210 path : binaries/linux-x64
211211
212212 - name : Download Linux arm64 artifacts
213213 if : success()
214- uses : actions/download-artifact@master
214+ uses : actions/download-artifact@v7
215215 with :
216216 name : linux-arm64
217217 path : binaries/linux-arm64
218218
219219 - name : Download macOS x64 artifacts
220220 if : success()
221- uses : actions/download-artifact@master
221+ uses : actions/download-artifact@v7
222222 with :
223223 name : macOS-x64
224224 path : binaries/darwin-x64
225225
226226 - name : Download macOS arm64 artifacts
227227 if : success()
228- uses : actions/download-artifact@master
228+ uses : actions/download-artifact@v7
229229 with :
230230 name : macOS-arm64
231231 path : binaries/darwin-arm64
232232
233233 - name : Download windows artifacts
234234 if : success()
235- uses : actions/download-artifact@master
235+ uses : actions/download-artifact@v7
236236 with :
237237 name : windows-latest
238238 path : binaries/windows
@@ -266,7 +266,7 @@ jobs:
266266
267267 - name : Create GitHub Release
268268 if : success() && startsWith(env.TARGET_REF, 'refs/tags/') || startsWith(env.TARGET_REF, 'v')
269- uses : softprops/action-gh-release@v2
269+ uses : softprops/action-gh-release@v3
270270 with :
271271 tag_name : ${{ env.TARGET_REF }}
272272 name : Release ${{ env.TARGET_REF }}
0 commit comments