From 904007f8a78fed3fab2fea82781b93f5cd02976a Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Sun, 14 Apr 2024 16:44:27 +0800 Subject: [PATCH] make ci runner can build x64 and arm64 dist for mac --- .github/workflows/release-ui.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-ui.yml b/.github/workflows/release-ui.yml index f7faa52..cb94bc4 100644 --- a/.github/workflows/release-ui.yml +++ b/.github/workflows/release-ui.yml @@ -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