Skip to content

Commit 30e6635

Browse files
authored
11.8 CIs should fetch cuda-python wheel from the previous branch
1 parent 6bb7c0b commit 30e6635

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/test-wheel.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,24 +87,20 @@ jobs:
8787
dependent_exes: "gcc jq wget"
8888

8989
- name: Download cuda-python build artifacts
90+
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0'}}
9091
uses: actions/download-artifact@v4
9192
with:
9293
name: cuda-python-wheel
9394
path: .
9495

95-
- name: Display structure of downloaded cuda-python artifacts
96-
run: |
97-
pwd
98-
ls -lahR .
99-
10096
- name: Download cuda.bindings build artifacts
10197
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0'}}
10298
uses: actions/download-artifact@v4
10399
with:
104100
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
105101
path: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
106102

107-
- name: Download cuda.bindings build artifacts from the prior branch
103+
- name: Download cuda-python & cuda.bindings build artifacts from the prior branch
108104
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '1'}}
109105
env:
110106
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -131,6 +127,14 @@ jobs:
131127
mkdir -p "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"
132128
mv $OLD_BASENAME/*.whl "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"/
133129

130+
gh run download $LATEST_PRIOR_RUN_ID -p cuda-python-wheel -R NVIDIA/cuda-python
131+
mv cuda-python-wheel/*.whl .
132+
133+
- name: Display structure of downloaded cuda-python artifacts
134+
run: |
135+
pwd
136+
ls -lahR .
137+
134138
- name: Display structure of downloaded cuda.bindings artifacts
135139
run: |
136140
pwd

0 commit comments

Comments
 (0)