Skip to content

Commit

Permalink
Filter build job builds (#3)
Browse files Browse the repository at this point in the history
For a pure Python package we only need one build (PR CI was already
doing this).
  • Loading branch information
vyasr authored Nov 6, 2023
1 parent a0f535b commit c628fa4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c628fa4

Please sign in to comment.