Skip to content

Commit 13a2501

Browse files
authored
Merge pull request #5 from CromFr/ci-fixes
ci: updated workflow actions
2 parents fec3a06 + 279e49f commit 13a2501

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
platform: ["linux-gnu", "windows-msvc"]
1616
arch: ["i686", "x86_64"]
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Dub cache
23-
uses: actions/cache@v2
23+
uses: actions/cache@v4
2424
with:
2525
path: ~/.dub
2626
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
@@ -116,7 +116,7 @@ jobs:
116116
done
117117
118118
- name: Upload bin artifacts
119-
uses: actions/upload-artifact@v2
119+
uses: actions/upload-artifact@v4
120120
with:
121121
name: "nwn-lib-d-tools-${{ matrix.platform }}-${{ matrix.arch }}"
122122
path: bin
@@ -139,7 +139,7 @@ jobs:
139139
140140
- name: Upload documentation artifacts
141141
if: matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
142-
uses: actions/upload-artifact@v2
142+
uses: actions/upload-artifact@v4
143143
with:
144144
name: "documentation.tar.xz"
145145
path: documentation.tar.xz
@@ -181,7 +181,7 @@ jobs:
181181
-XDELETE "https://api.github.com/repos/${{ github.repository }}/releases/$RELEASE_ID"
182182
fi
183183
184-
- uses: actions/checkout@v2
184+
- uses: actions/checkout@v4
185185
if: steps.rel_info.outputs.tag != ''
186186
with:
187187
fetch-depth: 0
@@ -242,7 +242,7 @@ jobs:
242242

243243
- name: Download artifacts
244244
if: steps.rel_info.outputs.tag != ''
245-
uses: actions/download-artifact@v2
245+
uses: actions/download-artifact@v4
246246
with:
247247
name: "nwn-lib-d-tools-${{ matrix.platform }}-${{ matrix.arch }}"
248248
path: "nwn-lib-d-tools"
@@ -291,7 +291,7 @@ jobs:
291291
# GH pages
292292
- name: Download documentation artifact
293293
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
295295
with:
296296
name: "documentation.tar.xz"
297297

@@ -302,7 +302,7 @@ jobs:
302302
303303
- name: Deploy documentation
304304
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
306306
with:
307307
github_token: ${{ secrets.GITHUB_TOKEN }}
308308
publish_dir: ./public

0 commit comments

Comments
 (0)