1919 packages : write
2020
2121 steps :
22- - uses : actions/checkout@v4
22+ - uses : actions/checkout@v6
2323
2424 - name : Set Build Variables
2525 run : |
@@ -42,20 +42,20 @@ jobs:
4242 cat package.json
4343
4444 - name : Login to DockerHub
45- uses : docker/login-action@v3
45+ uses : docker/login-action@v4
4646 with :
4747 username : ${{ secrets.DOCKERHUB_USERNAME }}
4848 password : ${{ secrets.DOCKERHUB_TOKEN }}
4949
5050 - name : Login to GitHub Container Registry
51- uses : docker/login-action@v3
51+ uses : docker/login-action@v4
5252 with :
5353 registry : ghcr.io
5454 username : ${{ github.repository_owner }}
5555 password : ${{ secrets.GITHUB_TOKEN }}
5656
5757 - name : Build and push Docker images
58- uses : docker/build-push-action@v5
58+ uses : docker/build-push-action@v7
5959 with :
6060 context : .
6161 file : dev/build/Dockerfile
7777 find _dist/wiki/ -printf "%P\n" | tar -czf wiki-js.tar.gz --no-recursion -C _dist/wiki/ -T -
7878
7979 - name : Upload a Build Artifact
80- uses : actions/upload-artifact@v4
80+ uses : actions/upload-artifact@v7
8181 with :
8282 name : drop
8383 path : wiki-js.tar.gz
9292 dbtype : [postgres, mysql, mariadb, sqlite]
9393
9494 steps :
95- - uses : actions/checkout@v4
95+ - uses : actions/checkout@v6
9696
9797 - name : Set Test Variables
9898 run : |
@@ -115,21 +115,13 @@ jobs:
115115
116116 arm :
117117 name : ARM Build
118- runs-on : ubuntu-latest
118+ runs-on : ubuntu-24.04-arm
119119 needs : [cypress]
120120 permissions :
121121 packages : write
122122
123- strategy :
124- matrix :
125- include :
126- - platform : linux/arm64
127- docker : arm64
128- # - platform: linux/arm/v7
129- # docker: armv7
130-
131123 steps :
132- - uses : actions/checkout@v4
124+ - uses : actions/checkout@v6
133125
134126 - name : Set Version Variables
135127 run : |
@@ -142,26 +134,26 @@ jobs:
142134 fi
143135
144136 - name : Set up QEMU
145- uses : docker/setup-qemu-action@v3
137+ uses : docker/setup-qemu-action@v4
146138
147139 - name : Set up Docker Buildx
148- uses : docker/setup-buildx-action@v3
140+ uses : docker/setup-buildx-action@v4
149141
150142 - name : Login to DockerHub
151- uses : docker/login-action@v3
143+ uses : docker/login-action@v4
152144 with :
153145 username : ${{ secrets.DOCKERHUB_USERNAME }}
154146 password : ${{ secrets.DOCKERHUB_TOKEN }}
155147
156148 - name : Login to GitHub Container Registry
157- uses : docker/login-action@v3
149+ uses : docker/login-action@v4
158150 with :
159151 registry : ghcr.io
160152 username : ${{ github.repository_owner }}
161153 password : ${{ secrets.GITHUB_TOKEN }}
162154
163155 - name : Download a Build Artifact
164- uses : actions/download-artifact@v4
156+ uses : actions/download-artifact@v8
165157 with :
166158 name : drop
167159 path : drop
@@ -172,16 +164,16 @@ jobs:
172164 tar -xzf $GITHUB_WORKSPACE/drop/wiki-js.tar.gz -C $GITHUB_WORKSPACE/build --exclude=node_modules
173165
174166 - name : Build and push Docker images
175- uses : docker/build-push-action@v5
167+ uses : docker/build-push-action@v7
176168 with :
177169 context : .
178170 file : dev/build-arm/Dockerfile
179- platforms : ${{ matrix.platform }}
171+ platforms : linux/arm64
180172 provenance : false
181173 push : true
182174 tags : |
183- requarks/wiki:canary-${{ matrix.docker }} -${{ env.REL_VERSION_STRICT }}
184- ghcr.io/requarks/wiki:canary-${{ matrix.docker }} -${{ env.REL_VERSION_STRICT }}
175+ requarks/wiki:canary-arm64 -${{ env.REL_VERSION_STRICT }}
176+ ghcr.io/requarks/wiki:canary-arm64 -${{ env.REL_VERSION_STRICT }}
185177
186178 windows :
187179 name : Windows Build
@@ -190,12 +182,12 @@ jobs:
190182
191183 steps :
192184 - name : Setup Node.js environment
193- uses : actions/setup-node@v4
185+ uses : actions/setup-node@v6
194186 with :
195- node-version : 20 .x
187+ node-version : 24 .x
196188
197189 - name : Download a Build Artifact
198- uses : actions/download-artifact@v4
190+ uses : actions/download-artifact@v8
199191 with :
200192 name : drop
201193 path : drop
@@ -218,10 +210,10 @@ jobs:
218210 Copy-Item patch-extractfile.json win\node_modules\extract-files\package.json -Force
219211
220212 - name : Create Bundle
221- run : tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .
213+ run : tar -czf $env:GITHUB_WORKSPACE\ wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .
222214
223215 - name : Upload a Build Artifact
224- uses : actions/upload-artifact@v4
216+ uses : actions/upload-artifact@v7
225217 with :
226218 name : drop-win
227219 path : wiki-js-windows.tar.gz
@@ -241,13 +233,13 @@ jobs:
241233 echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV
242234
243235 - name : Login to DockerHub
244- uses : docker/login-action@v3
236+ uses : docker/login-action@v4
245237 with :
246238 username : ${{ secrets.DOCKERHUB_USERNAME }}
247239 password : ${{ secrets.DOCKERHUB_TOKEN }}
248240
249241 - name : Login to GitHub Container Registry
250- uses : docker/login-action@v3
242+ uses : docker/login-action@v4
251243 with :
252244 registry : ghcr.io
253245 username : ${{ github.repository_owner }}
@@ -282,13 +274,13 @@ jobs:
282274 echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV
283275
284276 - name : Login to DockerHub
285- uses : docker/login-action@v3
277+ uses : docker/login-action@v4
286278 with :
287279 username : ${{ secrets.DOCKERHUB_USERNAME }}
288280 password : ${{ secrets.DOCKERHUB_TOKEN }}
289281
290282 - name : Login to GitHub Container Registry
291- uses : docker/login-action@v3
283+ uses : docker/login-action@v4
292284 with :
293285 registry : ghcr.io
294286 username : ${{ github.repository_owner }}
@@ -328,13 +320,13 @@ jobs:
328320 docker manifest push -p ghcr.io/requarks/wiki:latest
329321
330322 - name : Download Linux Build
331- uses : actions/download-artifact@v4
323+ uses : actions/download-artifact@v8
332324 with :
333325 name : drop
334326 path : drop
335327
336328 - name : Download Windows Build
337- uses : actions/download-artifact@v4
329+ uses : actions/download-artifact@v8
338330 with :
339331 name : drop-win
340332 path : drop-win
@@ -348,7 +340,7 @@ jobs:
348340 writeToFile : false
349341
350342 - name : Update GitHub Release
351- uses : ncipollo/release-action@v1.12 .0
343+ uses : ncipollo/release-action@v1.21 .0
352344 with :
353345 allowUpdates : true
354346 draft : false
0 commit comments