From 89f32550979daa48794546586ea41e89f960afdf Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Wed, 29 Apr 2026 11:12:50 -0400 Subject: [PATCH] fix: add `package_name` input to cpp-post-build-check --- .github/workflows/conda-cpp-post-build-checks.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda-cpp-post-build-checks.yaml b/.github/workflows/conda-cpp-post-build-checks.yaml index 163622c9..ef97317b 100644 --- a/.github/workflows/conda-cpp-post-build-checks.yaml +++ b/.github/workflows/conda-cpp-post-build-checks.yaml @@ -26,6 +26,10 @@ on: For example, to ignore any function symbols coming from the 'thrust' or 'cub' namespaces, you might provide '(void (thrust::|cub::))'. type: string + package_name: + description: | + Name of package to use when constructing artifact name using `rapids-artifact-name`, e.g. `libcudf`, `libucxx` + type: string defaults: run: @@ -97,9 +101,15 @@ jobs: GH_TOKEN: ${{ github.token }} - name: Download conda C++ build artifacts env: + PACKAGE_NAME: ${{ inputs.package_name }} + REPO: ${{ inputs.repo }} GH_TOKEN: ${{ github.token }} run: | - CPP_DIR=$(rapids-download-conda-from-github cpp) + if [ -n "$PACKAGE_NAME" ]; then + CPP_DIR=$(rapids-download-from-github "$(rapids-artifact-name conda_cpp $PACKAGE_NAME "${REPO##*/}" --cuda)") + else + CPP_DIR=$(rapids-download-conda-from-github cpp) + fi EXTRACTED_DIR=$(rapids-extract-conda-files "${CPP_DIR}") echo "RAPIDS_EXTRACTED_DIR=${EXTRACTED_DIR}" >> "${GITHUB_ENV}" - name: Get weak detection tool