@@ -15,12 +15,12 @@ jobs:
15
15
platform : ["linux-gnu", "windows-msvc"]
16
16
arch : ["i686", "x86_64"]
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v4
19
19
with :
20
20
fetch-depth : 0
21
21
22
22
- name : Dub cache
23
- uses : actions/cache@v2
23
+ uses : actions/cache@v4
24
24
with :
25
25
path : ~/.dub
26
26
key : ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
@@ -116,7 +116,7 @@ jobs:
116
116
done
117
117
118
118
- name : Upload bin artifacts
119
- uses : actions/upload-artifact@v2
119
+ uses : actions/upload-artifact@v4
120
120
with :
121
121
name : " nwn-lib-d-tools-${{ matrix.platform }}-${{ matrix.arch }}"
122
122
path : bin
@@ -139,7 +139,7 @@ jobs:
139
139
140
140
- name : Upload documentation artifacts
141
141
if : matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
142
- uses : actions/upload-artifact@v2
142
+ uses : actions/upload-artifact@v4
143
143
with :
144
144
name : " documentation.tar.xz"
145
145
path : documentation.tar.xz
@@ -181,7 +181,7 @@ jobs:
181
181
-XDELETE "https://api.github.com/repos/${{ github.repository }}/releases/$RELEASE_ID"
182
182
fi
183
183
184
- - uses : actions/checkout@v2
184
+ - uses : actions/checkout@v4
185
185
if : steps.rel_info.outputs.tag != ''
186
186
with :
187
187
fetch-depth : 0
@@ -242,7 +242,7 @@ jobs:
242
242
243
243
- name : Download artifacts
244
244
if : steps.rel_info.outputs.tag != ''
245
- uses : actions/download-artifact@v2
245
+ uses : actions/download-artifact@v4
246
246
with :
247
247
name : " nwn-lib-d-tools-${{ matrix.platform }}-${{ matrix.arch }}"
248
248
path : " nwn-lib-d-tools"
@@ -291,7 +291,7 @@ jobs:
291
291
# GH pages
292
292
- name : Download documentation artifact
293
293
if : steps.rel_info.outputs.tag != '' && matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
294
- uses : actions/download-artifact@v2
294
+ uses : actions/download-artifact@v4
295
295
with :
296
296
name : " documentation.tar.xz"
297
297
@@ -302,7 +302,7 @@ jobs:
302
302
303
303
- name : Deploy documentation
304
304
if : steps.rel_info.outputs.tag != '' && matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
305
- uses : peaceiris/actions-gh-pages@v3
305
+ uses : peaceiris/actions-gh-pages@v4
306
306
with :
307
307
github_token : ${{ secrets.GITHUB_TOKEN }}
308
308
publish_dir : ./public
0 commit comments