Skip to content

Commit 944a2f2

Browse files
committed
Merge remote-tracking branch 'upstream/branch-25.06' into python-3.13
2 parents bcedb56 + 070a5c3 commit 944a2f2

3 files changed

Lines changed: 25 additions & 4 deletions

File tree

.github/workflows/conda-cpp-build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ on:
1919
script:
2020
type: string
2121
default: "ci/build_cpp.sh"
22+
upload-artifacts:
23+
type: boolean
24+
default: true
25+
required: false
26+
description: "One of [true, false], true if artifacts should be uploaded to GitHub's artifact store"
2227
matrix_filter:
2328
type: string
2429
default: "."
@@ -125,15 +130,18 @@ jobs:
125130
STEP_NAME: "C++ build"
126131
GH_TOKEN: ${{ github.token }}
127132
- name: Get Package Name and Location
133+
if: ${{ inputs.upload-artifacts }}
128134
run: |
129135
echo "RAPIDS_PACKAGE_NAME=$(RAPIDS_NO_PKG_EXTENSION=true rapids-package-name conda_cpp)" >> "${GITHUB_OUTPUT}"
130136
echo "CONDA_OUTPUT_DIR=${RAPIDS_CONDA_BLD_OUTPUT_DIR}" >> "${GITHUB_OUTPUT}"
131137
id: package-name
132138
- name: Show files to be uploaded
139+
if: ${{ inputs.upload-artifacts }}
133140
run: |
134141
echo "Contents of directory to be uploaded:"
135142
ls -R ${{ steps.package-name.outputs.CONDA_OUTPUT_DIR }}
136143
- uses: actions/upload-artifact@v4
144+
if: ${{ inputs.upload-artifacts }}
137145
with:
138146
name: ${{ steps.package-name.outputs.RAPIDS_PACKAGE_NAME }}
139147
path: ${{ steps.package-name.outputs.CONDA_OUTPUT_DIR }}

.github/workflows/conda-python-build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ on:
1919
script:
2020
type: string
2121
default: "ci/build_python.sh"
22+
upload-artifacts:
23+
type: boolean
24+
default: true
25+
required: false
26+
description: "One of [true, false], true if artifacts should be uploaded to GitHub's artifact store"
2227
matrix_filter:
2328
type: string
2429
default: "."
@@ -129,15 +134,18 @@ jobs:
129134
env:
130135
GH_TOKEN: ${{ github.token }}
131136
- name: Get Package Name and Location
137+
if: ${{ inputs.upload-artifacts }}
132138
run: |
133139
echo "RAPIDS_PACKAGE_NAME=$(RAPIDS_NO_PKG_EXTENSION=true rapids-package-name conda_python)" >> "${GITHUB_OUTPUT}"
134140
echo "CONDA_OUTPUT_DIR=${RAPIDS_CONDA_BLD_OUTPUT_DIR}" >> "${GITHUB_OUTPUT}"
135141
id: package-name
136142
- name: Show files to be uploaded
143+
if: ${{ inputs.upload-artifacts }}
137144
run: |
138145
echo "Contents of directory to be uploaded:"
139146
ls -R ${{ steps.package-name.outputs.CONDA_OUTPUT_DIR }}
140147
- uses: actions/upload-artifact@v4
148+
if: ${{ inputs.upload-artifacts }}
141149
with:
142150
name: ${{ steps.package-name.outputs.RAPIDS_PACKAGE_NAME }}
143151
path: ${{ steps.package-name.outputs.CONDA_OUTPUT_DIR }}

.github/workflows/wheels-build.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
description: "Distribution name, without any other qualifiers (e.g. 'pylibcudf', not 'pylibcudf-cu12-cp311-manylinux_2_24_aarch64')"
2626
package-type:
2727
description: "One of: [cpp, python]"
28-
required: false
28+
required: true
2929
type: string
3030
wheel-name:
3131
required: false
@@ -52,6 +52,11 @@ on:
5252
matrix_filter:
5353
type: string
5454
default: "."
55+
upload-artifacts:
56+
type: boolean
57+
default: true
58+
required: false
59+
description: "One of [true, false], true if artifacts should be uploaded to GitHub's artifact store"
5560

5661
# Extra repository that will be cloned into the project directory.
5762
extra-repo:
@@ -204,7 +209,7 @@ jobs:
204209
shell: bash -leo pipefail {0}
205210

206211
- name: Get package name
207-
if: inputs.package-type != ''
212+
if: ${{ inputs.upload-artifacts }}
208213
env:
209214
PACKAGE_TYPE: ${{ inputs.package-type }}
210215
WHEEL_NAME: ${{ inputs.package-name != '' && inputs.package-name || inputs.wheel-name }}
@@ -228,13 +233,13 @@ jobs:
228233
id: package-name
229234

230235
- name: Show files to be uploaded
231-
if: inputs.package-type != ''
236+
if: ${{ inputs.upload-artifacts }}
232237
run: |
233238
echo "Contents of directory to be uploaded:"
234239
ls -R ${{ steps.package-name.outputs.WHEEL_OUTPUT_DIR }}
235240
236241
- uses: actions/upload-artifact@v4
237-
if: inputs.package-type != ''
242+
if: ${{ inputs.upload-artifacts }}
238243
with:
239244
name: ${{ steps.package-name.outputs.RAPIDS_PACKAGE_NAME }}
240245
path: ${{ steps.package-name.outputs.WHEEL_OUTPUT_DIR }}

0 commit comments

Comments
 (0)