From 628c48f9e9e0a40395bf250cef77d2eba7dfaefb Mon Sep 17 00:00:00 2001 From: wanghu <2256896349@qq.com> Date: Tue, 15 Oct 2024 20:23:38 +0800 Subject: [PATCH] Fix: Fix build on mac failed bug --- .github/workflows/build-on-create-release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-on-create-release.yml b/.github/workflows/build-on-create-release.yml index 20e22168d5..ab550b0598 100644 --- a/.github/workflows/build-on-create-release.yml +++ b/.github/workflows/build-on-create-release.yml @@ -52,7 +52,7 @@ jobs: name: Build macOS Packages # macos-11.7 - runs-on: macos-11 + runs-on: macos-latest steps: - name: Checkout Code @@ -63,6 +63,15 @@ jobs: - name: Checkout submodules run: git submodule update --init --recursive + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip - name: Use Node.js 16 uses: actions/setup-node@v3