From 8c6e3d6d65138660e0b5b20953f08f5d5aa8e812 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 6 Nov 2023 11:43:41 +0100 Subject: [PATCH] ci: ensure that sdist builds --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ce45c1b..f78a3990 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,6 +99,11 @@ jobs: - run: maturin build --release ${{ matrix.args }} working-directory: ./mitmproxy-rs + # ensure that sdist is building. + # We do this here instead of a separate job because we don't want to wait for the entire matrix. + - if: contains('sdist', matrix.args) + run: pip install target/wheels/*.tar.gz + - uses: actions/upload-artifact@v3 with: name: wheels