From 571d93e78e5bdfc3f65df14ccfea5f2dc3f6d301 Mon Sep 17 00:00:00 2001 From: Albert Hui Date: Tue, 24 Mar 2026 08:46:47 +0800 Subject: [PATCH] fix: repair Python wheel builds for macOS and Windows - Replace deprecated macos-13 runner with macos-latest - Install OpenSSL via vcpkg on Windows for SQLCipher build - Bump version to 0.4.2 Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 10 +++++++++- alaya/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4458e5d..f2ef33b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -197,10 +197,18 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-14, macos-13, windows-latest] + os: [ubuntu-latest, macos-14, macos-latest, windows-latest] steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - name: Install OpenSSL (Windows) + if: runner.os == 'Windows' + run: | + vcpkg install openssl:x64-windows-static-md + echo "OPENSSL_DIR=$env:VCPKG_INSTALLATION_ROOT\installed\x64-windows-static-md" >> $env:GITHUB_ENV + echo "OPENSSL_STATIC=1" >> $env:GITHUB_ENV + shell: pwsh + - uses: PyO3/maturin-action@6fef5d39aef859fecc0e2751d71ea0bb42a6fc78 # v1.50.0 with: working-directory: alaya-py diff --git a/alaya/Cargo.toml b/alaya/Cargo.toml index 7c6ab0b..3a22834 100644 --- a/alaya/Cargo.toml +++ b/alaya/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "alaya" -version = "0.4.1" +version = "0.4.2" edition = "2021" rust-version = "1.85" authors = ["Albert Hui "]