Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/conda-cpp-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,18 +169,33 @@ jobs:
# NEEDS alternative-gh-token-secret-name - API limits need to be for whatever token is used for upload/download. Repo token may be a different pool for rate limits.
GH_TOKEN: ${{ inputs.alternative-gh-token-secret-name && secrets[inputs.alternative-gh-token-secret-name] || github.token }} # zizmor: ignore[overprovisioned-secrets]
- name: C++ build
id: cpp-build
run: |
ulimit -n "$(ulimit -Hn)"
$INPUTS_SCRIPT
# shellcheck disable=SC1090
source "${INPUTS_SCRIPT}"
Comment thread
KyleFromNVIDIA marked this conversation as resolved.

# Capture RAPIDS_PACKAGE_NAME if set by the build script
if [[ -n "${RAPIDS_PACKAGE_NAME:-}" ]]; then
echo "rapids-package-name=${RAPIDS_PACKAGE_NAME}" >> "${GITHUB_OUTPUT}"
fi
env:
INPUTS_SCRIPT: "${{ inputs.script }}"
STEP_NAME: "C++ build"
# NEEDS alternative-gh-token-secret-name - may require a token with more permissions
GH_TOKEN: ${{ inputs.alternative-gh-token-secret-name && secrets[inputs.alternative-gh-token-secret-name] || github.token }} # zizmor: ignore[overprovisioned-secrets]
- name: Get Package Name and Location
if: ${{ inputs.upload-artifacts }}
env:
# Pass RAPIDS_PACKAGE_NAME from cpp-build step if available
RAPIDS_PACKAGE_NAME: ${{ steps.cpp-build.outputs.rapids-package-name }}
run: |
echo "RAPIDS_PACKAGE_NAME=$(RAPIDS_NO_PKG_EXTENSION=true rapids-package-name conda_cpp)" >> "${GITHUB_OUTPUT}"
# Use RAPIDS_PACKAGE_NAME from build step if available, otherwise generate default
if [[ -n "${RAPIDS_PACKAGE_NAME:-}" ]]; then
echo "RAPIDS_PACKAGE_NAME=${RAPIDS_PACKAGE_NAME}" >> "${GITHUB_OUTPUT}"
else
echo "RAPIDS_PACKAGE_NAME=$(RAPISD_NO_PKG_EXTENSION=true rapids-package-name conda_cpp)" >> "${GITHUB_OUTPUT}"
fi
echo "CONDA_OUTPUT_DIR=${RAPIDS_CONDA_BLD_OUTPUT_DIR}" >> "${GITHUB_OUTPUT}"
id: package-name
- name: Show files to be uploaded
Expand Down