From cd058e3aa19437c686d86c0dc773f40d7db37d13 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Thu, 29 Feb 2024 19:13:29 +0800 Subject: [PATCH] Correct the binary release workflow Signed-off-by: Loren Eteval --- .github/workflows/deploy-binaries.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-binaries.yml b/.github/workflows/deploy-binaries.yml index 8209e7e..32b3efb 100644 --- a/.github/workflows/deploy-binaries.yml +++ b/.github/workflows/deploy-binaries.yml @@ -8,8 +8,11 @@ defaults: jobs: deploy: - name: Deploy - runs-on: [windows-2022, macos-11, macos-14] + name: Deploy ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-2022, macos-12, macos-14] steps: - uses: actions/checkout@v4 @@ -32,6 +35,12 @@ jobs: fi python3 --version + - name: Install system dependencies + run: | + if [ "$RUNNER_OS" == "macOS" ]; then + brew install create-dmg + fi + - name: Install setuptools, wheel run: >- python3 -m @@ -54,7 +63,7 @@ jobs: run: >- python3 -m pip install - nuitka imageio + "nuitka==1.8.6" imageio - name: Set up go 1.20 uses: actions/setup-go@v4