1919
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v3
2323 with :
2424 submodules : recursive
25-
2625 - name : Compile
2726 env :
2827 CC : clang
4342 --clean-first
4443 cmake --install ${{github.workspace}}/build --config RelWithDebInfo
4544 - name : Upload
46- uses : actions/upload-artifact@v2
45+ uses : actions/upload-artifact@v3
4746 with :
4847 name : libuiohook-build
4948 path : ${{github.workspace}}/dist/**/*
5352
5453 steps :
5554 - name : Checkout
56- uses : actions/checkout@v2
55+ uses : actions/checkout@v3
5756 with :
5857 submodules : recursive
59-
6058 - name : Compile
6159 env :
6260 CC : clang
7775 --clean-first
7876 cmake --install ${{github.workspace}}/build --config RelWithDebInfo
7977 - name : Upload
80- uses : actions/upload-artifact@v2
78+ uses : actions/upload-artifact@v3
8179 with :
8280 name : libuiohook-build
8381 path : ${{github.workspace}}/dist/**/*
8785
8886 steps :
8987 - name : Checkout
90- uses : actions/checkout@v2
88+ uses : actions/checkout@v3
9189 with :
9290 submodules : recursive
93-
9491 - name : Setup
9592 shell : bash
9693 run : |
@@ -138,7 +135,7 @@ jobs:
138135 --clean-first
139136 cmake --install ${{github.workspace}}/build --config RelWithDebInfo
140137 - name : Upload
141- uses : actions/upload-artifact@v2
138+ uses : actions/upload-artifact@v3
142139 with :
143140 name : libuiohook-build
144141 path : ${{github.workspace}}/dist/**/*
@@ -148,10 +145,9 @@ jobs:
148145
149146 steps :
150147 - name : Checkout
151- uses : actions/checkout@v2
148+ uses : actions/checkout@v3
152149 with :
153150 submodules : recursive
154-
155151 - name : Setup
156152 shell : bash
157153 run : |
@@ -199,7 +195,7 @@ jobs:
199195 --clean-first
200196 cmake --install ${{github.workspace}}/build --config RelWithDebInfo
201197 - name : Upload
202- uses : actions/upload-artifact@v2
198+ uses : actions/upload-artifact@v3
203199 with :
204200 name : libuiohook-build
205201 path : ${{github.workspace}}/dist/**/*
@@ -209,10 +205,9 @@ jobs:
209205
210206 steps :
211207 - name : Checkout
212- uses : actions/checkout@v2
208+ uses : actions/checkout@v3
213209 with :
214210 submodules : recursive
215-
216211 - name : Setup
217212 shell : bash
218213 run : |
@@ -247,7 +242,7 @@ jobs:
247242 --clean-first
248243 cmake --install ${{github.workspace}}/build --config RelWithDebInfo
249244 - name : Upload
250- uses : actions/upload-artifact@v2
245+ uses : actions/upload-artifact@v3
251246 with :
252247 name : libuiohook-build
253248 path : ${{github.workspace}}/dist/**/*
@@ -256,15 +251,13 @@ jobs:
256251 runs-on : windows-latest
257252
258253 steps :
259- - uses : actions/checkout@v2
254+ - uses : actions/checkout@v3
260255 with :
261256 submodules : recursive
262-
263257 - name : Setup
264258 uses : ilammy/msvc-dev-cmd@v1
265259 with :
266260 arch : amd64_arm
267-
268261 - name : Compile
269262 shell : pwsh
270263 run : |
@@ -283,7 +276,7 @@ jobs:
283276 --clean-first
284277 cmake --install ${{github.workspace}}\build --config RelWithDebInfo
285278 - name : Upload
286- uses : actions/upload-artifact@v2
279+ uses : actions/upload-artifact@v3
287280 with :
288281 name : libuiohook-build
289282 path : ${{github.workspace}}/dist/**/*
@@ -292,15 +285,13 @@ jobs:
292285 runs-on : windows-latest
293286
294287 steps :
295- - uses : actions/checkout@v2
288+ - uses : actions/checkout@v3
296289 with :
297290 submodules : recursive
298-
299291 - name : Setup
300292 uses : ilammy/msvc-dev-cmd@v1
301293 with :
302294 arch : amd64_arm64
303-
304295 - name : Compile
305296 shell : pwsh
306297 run : |
@@ -319,7 +310,7 @@ jobs:
319310 --clean-first
320311 cmake --install ${{github.workspace}}\build --config RelWithDebInfo
321312 - name : Upload
322- uses : actions/upload-artifact@v2
313+ uses : actions/upload-artifact@v3
323314 with :
324315 name : libuiohook-build
325316 path : ${{github.workspace}}/dist/**/*
@@ -328,15 +319,13 @@ jobs:
328319 runs-on : windows-latest
329320
330321 steps :
331- - uses : actions/checkout@v2
322+ - uses : actions/checkout@v3
332323 with :
333324 submodules : recursive
334-
335325 - name : Setup
336326 uses : ilammy/msvc-dev-cmd@v1
337327 with :
338328 arch : amd64_x86
339-
340329 - name : Compile
341330 shell : pwsh
342331 run : |
@@ -355,7 +344,7 @@ jobs:
355344 --clean-first
356345 cmake --install ${{github.workspace}}\build --config RelWithDebInfo
357346 - name : Upload
358- uses : actions/upload-artifact@v2
347+ uses : actions/upload-artifact@v3
359348 with :
360349 name : libuiohook-build
361350 path : ${{github.workspace}}/dist/**/*
@@ -364,15 +353,13 @@ jobs:
364353 runs-on : windows-latest
365354
366355 steps :
367- - uses : actions/checkout@v2
356+ - uses : actions/checkout@v3
368357 with :
369358 submodules : recursive
370-
371359 - name : Setup
372360 uses : ilammy/msvc-dev-cmd@v1
373361 with :
374362 arch : amd64
375-
376363 - name : Compile
377364 shell : pwsh
378365 run : |
@@ -392,7 +379,7 @@ jobs:
392379 cmake --install ${{github.workspace}}\build --config RelWithDebInfo
393380
394381 - name : Upload
395- uses : actions/upload-artifact@v2
382+ uses : actions/upload-artifact@v3
396383 with :
397384 name : libuiohook-build
398385 path : ${{github.workspace}}/dist/**/*
@@ -411,26 +398,22 @@ jobs:
411398 - libuiohook-windows-x64
412399
413400 steps :
414- - uses : actions/checkout@v2
401+ - uses : actions/checkout@v3
415402 with :
416403 submodules : recursive
417-
418404 - name : Setup .NET
419- uses : actions/setup-dotnet@v1
405+ uses : actions/setup-dotnet@v3
420406 with :
421407 dotnet-version : 6.0.x
422-
423408 - name : Setup DocFX
424- uses : crazy-max/ghaction-chocolatey@v1
409+ uses : crazy-max/ghaction-chocolatey@v2
425410 with :
426411 args : install docfx
427-
428412 - name : Fetch libuiohook
429- uses : actions/download-artifact@v2
413+ uses : actions/download-artifact@v3
430414 with :
431415 name : libuiohook-build
432416 path : libuiohook-build
433-
434417 - name : Move libuiohook
435418 shell : pwsh
436419 run : |
@@ -453,29 +436,25 @@ jobs:
453436 mv libuiohook-build\windows\arm64\bin\uiohook.dll SharpHook\lib\win-arm64\
454437 mv libuiohook-build\windows\x86\bin\uiohook.dll SharpHook\lib\win-x86\
455438 mv libuiohook-build\windows\x86_64\bin\uiohook.dll SharpHook\lib\win-x64\
456-
457439 - name : Pack SharpHook
458440 shell : pwsh
459441 run : |
460442 cd SharpHook
461443 dotnet pack --nologo -c Release -o ${{github.workspace}}\build\ /p:ContinuousIntegrationBuild=true
462444 cd ..\SharpHook.Reactive
463445 dotnet pack --nologo -c Release -o ${{github.workspace}}\build\ /p:ContinuousIntegrationBuild=true
464-
465446 - name : Upload SharpHook
466- uses : actions/upload-artifact@v2
447+ uses : actions/upload-artifact@v3
467448 with :
468449 name : sharphook-build
469450 path : ${{github.workspace}}\build\*
470-
471451 - name : Build Docs
472452 shell : pwsh
473453 working-directory : docs
474454 run : docfx docfx.json
475455 continue-on-error : false
476-
477456 - name : Publish Docs
478- uses : peaceiris/actions-gh-pages@v3.8.0
457+ uses : peaceiris/actions-gh-pages@v3
479458 with :
480459 github_token : ${{ secrets.GITHUB_TOKEN }}
481460 publish_dir : docs/_site/
@@ -491,21 +470,18 @@ jobs:
491470
492471 steps :
493472 - name : Checkout
494- uses : actions/checkout@v2
473+ uses : actions/checkout@v3
495474 with :
496475 submodules : recursive
497-
498476 - name : Setup .NET
499- uses : actions/setup-dotnet@v1
477+ uses : actions/setup-dotnet@v3
500478 with :
501479 dotnet-version : 6.0.x
502-
503480 - name : Fetch Packages
504- uses : actions/download-artifact@v2
481+ uses : actions/download-artifact@v3
505482 with :
506483 name : sharphook-build
507484 path : sharphook-build
508-
509485 - name : Publish Packages
510486 shell : pwsh
511487 run : |
0 commit comments