diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0e5a19d..128d41e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -32,6 +32,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x + - name: Cache Rust and sccache uses: actions/cache@v4 with: @@ -75,8 +76,10 @@ jobs: - name: Build wheels run: | - python -m pip install maturin + export CARGO_HOME="${{ runner.temp }}/cargo" + export PATH="$CARGO_HOME/bin:$PATH" maturin build --release --out dist --find-interpreter --target ${{ matrix.platform.target }} + - name: Upload wheels uses: actions/upload-artifact@v3.2.2 with: