diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index f9d5a6823..63f122d04 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -92,8 +92,9 @@ jobs: with: target: ${{ matrix.target }} manylinux: auto - args: --release --out dist --features python + args: --release --out dist --manifest-path Cargo.toml --features python sccache: 'true' + manylinux-python-version: ${{ matrix.python-version }} - name: Test wheel if: matrix.target == 'x86_64' run: | @@ -150,7 +151,6 @@ jobs: sdist: runs-on: ubuntu-latest - # Add permissions to job permissions: id-token: write contents: read @@ -160,7 +160,8 @@ jobs: uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist + args: --out dist --manifest-path Cargo.toml --features python + sccache: 'true' - name: Upload sdist uses: actions/upload-artifact@v3 with: