From 5e86d1aee29baac98c433ff084f85b8cec257440 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Fri, 26 Sep 2025 11:24:19 +0800 Subject: [PATCH 1/2] ci:fix brew python & update macos-13 -> macos-15 --- .github/actions/setup-deps/action.yml | 2 ++ .github/workflows/release-build.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-deps/action.yml b/.github/actions/setup-deps/action.yml index b0bdb4bc..bb5c0bbf 100644 --- a/.github/actions/setup-deps/action.yml +++ b/.github/actions/setup-deps/action.yml @@ -39,6 +39,7 @@ runs: python@3.12 # for github.com/goplus/lib/py ) brew install "${opt_deps[@]}" + brew link --overwrite python@3.12 - name: Install Ubuntu dependencies if: runner.os == 'Linux' shell: bash @@ -66,3 +67,4 @@ runs: python3.12-dev # for github.com/goplus/lib/py ) sudo apt-get install -y "${opt_deps[@]}" + diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 15c64c53..49694a7e 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -153,7 +153,7 @@ jobs: strategy: matrix: include: - - os: macos-13 + - os: macos-15-intel goos: darwin goarch: amd64 go-version: "1.24.2" From 036bb858e2deed2f25bb55931b37e90e264685cd Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Fri, 26 Sep 2025 11:58:17 +0800 Subject: [PATCH 2/2] ci:link --overwrite python --- .github/actions/setup-deps/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-deps/action.yml b/.github/actions/setup-deps/action.yml index bb5c0bbf..fed0d23d 100644 --- a/.github/actions/setup-deps/action.yml +++ b/.github/actions/setup-deps/action.yml @@ -36,10 +36,12 @@ runs: opt_deps=( cjson # for github.com/goplus/lib/c/cjson sqlite # for github.com/goplus/lib/c/sqlite - python@3.12 # for github.com/goplus/lib/py ) brew install "${opt_deps[@]}" + + brew install python@3.12 || true # for github.com/goplus/lib/py brew link --overwrite python@3.12 + - name: Install Ubuntu dependencies if: runner.os == 'Linux' shell: bash