From eda7f2bf978676b9d0b94f3c75b050a46b349460 Mon Sep 17 00:00:00 2001 From: Ouziel Slama Date: Tue, 5 Mar 2024 11:17:01 +0100 Subject: [PATCH] github workflow --- .github/workflows/build_wheels.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_wheels.yaml b/.github/workflows/build_wheels.yaml index a20dc77b0b..9e876e34a4 100644 --- a/.github/workflows/build_wheels.yaml +++ b/.github/workflows/build_wheels.yaml @@ -31,11 +31,10 @@ jobs: profile: minimal default: true - name: Build wheels - x86_64 - working-directory: ${{ env.COUNTERPARTY_RS_DIR }} uses: messense/maturin-action@v1 with: target: x86_64 - args: --release --out dist --sdist + args: --release --out dist --sdist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml maturin-version: "v0.14.3" - name: Install built wheel - x86_64 working-directory: ${{ env.COUNTERPARTY_RS_DIR }} @@ -44,10 +43,9 @@ jobs: pip install pytest pytest -v - name: Build wheels - universal2 - working-directory: ${{ env.COUNTERPARTY_RS_DIR }} uses: messense/maturin-action@v1 with: - args: --release --universal2 --out dist + args: --release --universal2 --out dist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml maturin-version: "v0.14.3" - name: Install built wheel - universal2 working-directory: ${{ env.COUNTERPARTY_RS_DIR }} @@ -56,8 +54,7 @@ jobs: pip install pytest pytest -v - name: Upload wheels - working-directory: ${{ env.COUNTERPARTY_RS_DIR }} uses: actions/upload-artifact@v2 with: name: wheels - path: dist + path: ${{ env.COUNTERPARTY_RS_DIR }}/dist