From e9ce825bf6fc98668ef9162dc677af1e0959d4ca Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 15 Jan 2026 14:07:38 -0500 Subject: [PATCH] ci: remove build-ctk-ver from doc builds --- .github/workflows/build-docs.yml | 18 +----------------- .github/workflows/ci.yml | 2 -- .github/workflows/release.yml | 6 ------ 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 356431e8e4..7234caa56e 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -7,9 +7,6 @@ name: "CI: Build and update docs" on: workflow_call: inputs: - build-ctk-ver: - type: string - required: true component: description: "Component(s) to build docs for" required: false @@ -47,12 +44,6 @@ jobs: run: shell: bash -el {0} steps: - - name: validate build-ctk - run: | - if [ ! "${{ inputs.build-ctk-ver }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]; then - echo "error: `build-ctk-ver` ${{ inputs.build-ctk-ver }} version does not match MAJOR.MINOR.MICRO" >&2 - exit 1 - fi - name: Checkout ${{ github.event.repository.name }} uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: @@ -77,13 +68,6 @@ jobs: conda config --show-sources conda config --show - # WAR: Building the doc currently requires CTK installed (NVIDIA/cuda-python#326,327) - - name: Set up mini CTK - uses: ./.github/actions/fetch_ctk - with: - host-platform: linux-64 - cuda-version: ${{ inputs.build-ctk-ver }} - - name: Set environment variables run: | PYTHON_VERSION_FORMATTED="312" # see above @@ -103,7 +87,7 @@ jobs: echo "CUDA_CORE_ARTIFACT_BASENAME=${CUDA_CORE_ARTIFACT_BASENAME}" >> $GITHUB_ENV echo "CUDA_CORE_ARTIFACT_NAME=${CUDA_CORE_ARTIFACT_BASENAME}-${FILE_HASH}" >> $GITHUB_ENV echo "CUDA_CORE_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_core/dist")" >> $GITHUB_ENV - CUDA_BINDINGS_ARTIFACT_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda${{ inputs.build-ctk-ver }}-linux-64" + CUDA_BINDINGS_ARTIFACT_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-linux-64" echo "CUDA_BINDINGS_ARTIFACT_BASENAME=${CUDA_BINDINGS_ARTIFACT_BASENAME}" >> $GITHUB_ENV echo "CUDA_BINDINGS_ARTIFACT_NAME=${CUDA_BINDINGS_ARTIFACT_BASENAME}-${FILE_HASH}" >> $GITHUB_ENV echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/dist")" >> $GITHUB_ENV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48afb1a6a9..8b600a6ad3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -199,8 +199,6 @@ jobs: - build-linux-64 secrets: inherit uses: ./.github/workflows/build-docs.yml - with: - build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }} checks: name: Check job status diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 715d4e0bd0..65b0297555 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,9 +28,6 @@ on: required: false type: string default: "" - build-ctk-ver: - type: string - required: true wheel-dst: description: "Which wheel index to publish to?" required: true @@ -122,7 +119,6 @@ jobs: secrets: inherit uses: ./.github/workflows/build-docs.yml with: - build-ctk-ver: ${{ inputs.build-ctk-ver }} component: ${{ inputs.component }} git-tag: ${{ inputs.git-tag }} run-id: ${{ needs.determine-run-id.outputs.run-id }} @@ -135,7 +131,6 @@ jobs: needs: - check-tag - determine-run-id - - doc secrets: inherit uses: ./.github/workflows/release-upload.yml with: @@ -149,7 +144,6 @@ jobs: needs: - check-tag - determine-run-id - - doc environment: name: ${{ inputs.wheel-dst }} url: https://${{ (inputs.wheel-dst == 'testpypi' && 'test.') || '' }}pypi.org/p/${{ inputs.component }}/