From e40ced123fae29eb3f2e5c93f439aca5c348f5ad Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Tue, 12 Nov 2024 18:54:29 +0800 Subject: [PATCH] fix Signed-off-by: Isotr0py <2037008807@qq.com> --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1019ee6..cb77f89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,9 +92,11 @@ jobs: matrix: platform: - runner: windows-latest - target: x86_64-pc-windows-gnu + target: x64 + cargo_target: x86_64-pc-windows-gnu - runner: windows-latest - target: i868-pc-windows-gnu + target: x86 + cargo_target: i868-pc-windows-gnu steps: - name: Install dependencys uses: msys2/setup-msys2@v2 @@ -114,7 +116,7 @@ jobs: - name: Build wheels uses: PyO3/maturin-action@v1 with: - target: ${{ matrix.platform.target }} + target: ${{ matrix.platform.cargo_target }} args: --release --out dist --find-interpreter --features dynamic sccache: 'true' - name: Upload wheels