From c628fa4a693dd4af013f646448571aec2e2b57d2 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Mon, 6 Nov 2023 12:27:43 -0800 Subject: [PATCH] Filter build job builds (#3) For a pure Python package we only need one build (PR CI was already doing this). --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f1b14c2..1ee2cc3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,6 +34,8 @@ jobs: branch: ${{ inputs.branch }} date: ${{ inputs.date }} sha: ${{ inputs.sha }} + # Package is pure Python and only ever requires one build. + matrix_filter: map(select(.ARCH == "amd64" and .PY_VER == "3.10" and .CUDA_VER == "12.0.1")) upload-conda: needs: python-build secrets: inherit @@ -52,6 +54,8 @@ jobs: sha: ${{ inputs.sha }} date: ${{ inputs.date }} script: ci/build_wheel.sh + # Package is pure Python and only ever requires one build. + matrix_filter: map(select(.ARCH == "amd64" and .PY_VER == "3.10" and .CUDA_VER == "12.0.1")) wheel-publish: needs: wheel-build secrets: inherit