From 5e263e79400dc13c1f827556efdc199e7b50a34a Mon Sep 17 00:00:00 2001 From: Hung-I Wang Date: Tue, 26 Nov 2024 13:02:12 +0800 Subject: [PATCH] fix opencc feature --- .github/workflows/pyo3.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pyo3.yml b/.github/workflows/pyo3.yml index 05e280a..993612d 100644 --- a/.github/workflows/pyo3.yml +++ b/.github/workflows/pyo3.yml @@ -58,7 +58,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release -o pyo3/dist --sdist --find-interpreter -m pyo3/Cargo.toml + args: --release -o pyo3/dist --sdist --find-interpreter -m pyo3/Cargo.toml -F opencc sccache: 'true' manylinux: auto - name: Upload wheels @@ -98,7 +98,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml + args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml -F opencc sccache: 'true' manylinux: musllinux_1_2 - name: Upload wheels @@ -134,7 +134,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml + args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml -F opencc sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 @@ -168,7 +168,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml + args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml -F opencc sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4