Skip to content

Commit f452d55

Browse files
committed
Update actions and docker images
1 parent 3ce1a8f commit f452d55

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

.github/workflows/release.yaml

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
run: |
156156
${{ matrix.platform.installCmd }} curl bash git ${{ matrix.platform.toolRequirements }}
157157
158-
- uses: actions/checkout@v3
158+
- uses: actions/checkout@v4
159159

160160
- name: Run build
161161
run: |
@@ -168,7 +168,7 @@ jobs:
168168

169169
- if: always()
170170
name: Upload artifact
171-
uses: actions/upload-artifact@v3
171+
uses: actions/upload-artifact@v4
172172
with:
173173
if-no-files-found: error
174174
retention-days: 2
@@ -190,7 +190,7 @@ jobs:
190190

191191
steps:
192192
- name: Checkout code
193-
uses: actions/checkout@v3
193+
uses: actions/checkout@v4
194194
with:
195195
submodules: 'true'
196196

@@ -201,7 +201,7 @@ jobs:
201201

202202
- if: always()
203203
name: Upload artifact
204-
uses: actions/upload-artifact@v3
204+
uses: actions/upload-artifact@v4
205205
with:
206206
if-no-files-found: error
207207
retention-days: 2
@@ -218,42 +218,37 @@ jobs:
218218
DEBIAN_FRONTEND: noninteractive
219219
TZ: Asia/Singapore
220220
ARCH: ARM64
221-
DISTRO: Ubuntu
221+
DISTRO: Debian
222222
GHC_VERSION: 9.2.8
223223
strategy:
224224
fail-fast: false
225225
matrix:
226226
include:
227227
- os: [self-hosted, Linux, ARM64]
228228
ARCH: ARM
229-
ARTIFACT: "armv7-linux-ubuntu20"
229+
ARTIFACT: "armv7-linux-debian10"
230230
- os: [self-hosted, Linux, ARM64]
231231
ARCH: ARM64
232-
ARTIFACT: "aarch64-linux-ubuntu20"
232+
ARTIFACT: "aarch64-linux-debian10"
233233
steps:
234-
- uses: docker://arm64v8/ubuntu:focal
235-
name: Cleanup (aarch64 linux)
236-
with:
237-
args: "find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"
238-
239234
- name: git config
240235
run: |
241236
git config --global --get-all safe.directory | grep '^\*$' || git config --global --add safe.directory "*"
242237
shell: bash
243238

244239
- name: Checkout code
245-
uses: actions/checkout@v3
240+
uses: actions/checkout@v4
246241

247242
- if: matrix.ARCH == 'ARM'
248-
uses: docker://hasufell/arm32v7-ubuntu-haskell:focal
243+
uses: docker://hasufell/arm32v7-debian-haskell:10
249244
name: Run build (armv7 linux)
250245
with:
251246
args: bash .github/scripts/build.sh
252247
env:
253248
ARTIFACT: ${{ matrix.ARTIFACT }}
254249

255250
- if: matrix.ARCH == 'ARM64'
256-
uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
251+
uses: docker://hasufell/arm64v8-debian-haskell:10
257252
name: Run build (aarch64 linux)
258253
with:
259254
args: bash .github/scripts/build.sh
@@ -262,7 +257,7 @@ jobs:
262257

263258
- if: always()
264259
name: Upload artifact
265-
uses: actions/upload-artifact@v3
260+
uses: actions/upload-artifact@v4
266261
with:
267262
if-no-files-found: error
268263
retention-days: 2
@@ -283,7 +278,7 @@ jobs:
283278
GHC_VERSION: 9.2.8
284279
steps:
285280
- name: Checkout code
286-
uses: actions/checkout@v3
281+
uses: actions/checkout@v4
287282

288283
- name: Run build
289284
run: |
@@ -292,7 +287,7 @@ jobs:
292287
293288
- if: always()
294289
name: Upload artifact
295-
uses: actions/upload-artifact@v3
290+
uses: actions/upload-artifact@v4
296291
with:
297292
if-no-files-found: error
298293
retention-days: 2
@@ -314,7 +309,7 @@ jobs:
314309
GHC_VERSION: 9.2.8
315310
steps:
316311
- name: Checkout code
317-
uses: actions/checkout@v3
312+
uses: actions/checkout@v4
318313

319314
- name: Run build
320315
run: |
@@ -325,7 +320,7 @@ jobs:
325320
326321
- if: always()
327322
name: Upload artifact
328-
uses: actions/upload-artifact@v3
323+
uses: actions/upload-artifact@v4
329324
with:
330325
if-no-files-found: error
331326
retention-days: 2
@@ -353,7 +348,7 @@ jobs:
353348
taskkill /F /FI "MODULES eq msys-2.0.dll"
354349
355350
- name: Checkout code
356-
uses: actions/checkout@v3
351+
uses: actions/checkout@v4
357352

358353
- name: Run build (windows)
359354
run: |
@@ -365,7 +360,7 @@ jobs:
365360

366361
- if: always()
367362
name: Upload artifact
368-
uses: actions/upload-artifact@v3
363+
uses: actions/upload-artifact@v4
369364
with:
370365
if-no-files-found: error
371366
retention-days: 2
@@ -380,10 +375,10 @@ jobs:
380375
if: startsWith(github.ref, 'refs/tags/')
381376
steps:
382377
- name: Checkout code
383-
uses: actions/checkout@v3
378+
uses: actions/checkout@v4
384379

385380
- name: Download artifacts
386-
uses: actions/download-artifact@v3
381+
uses: actions/download-artifact@v4
387382
with:
388383
name: artifacts
389384
path: ./out

0 commit comments

Comments
 (0)