make ci runner can build x64 and arm64 dist for mac

This commit is contained in:
geekgeekrun
2024-04-14 16:44:27 +08:00
parent a945d2a7ae
commit 904007f8a7

View File

@@ -55,9 +55,14 @@ jobs:
overwrite: true
build_on_macos:
strategy:
matrix:
os:
- macos-12 # for x64 build
- macos-14 # for arm64 build
env:
PUPPETEER_SKIP_DOWNLOAD: 'true'
runs-on: macos-14
runs-on: ${{ matrix.os }}
permissions: write-all
# Steps represent a sequence of tasks that will be executed as part of the job