File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
- " 11.8.x"
1
+ 11.8.x
Original file line number Diff line number Diff line change 33
33
copy_labels_pattern : true
34
34
copy_requested_reviewers : true
35
35
label_pattern : to-be-backported
36
- target_branches : ${{ fromJSON( env.OLD_BRANCH) }}
36
+ target_branches : ${{ env.OLD_BRANCH }}
37
37
conflict_resolution : draft_commit_conflicts
Original file line number Diff line number Diff line change @@ -122,6 +122,10 @@ jobs:
122
122
OLD_BRANCH=$(cat .github/BACKPORT_BRANCH)
123
123
OLD_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-${{ inputs.host-platform }}*"
124
124
LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "CI: Build and test" -s completed -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
125
+ if [[ "$LATEST_PRIOR_RUN_ID" == "" ]]; then
126
+ echo "LATEST_PRIOR_RUN_ID not found!"
127
+ exit 1
128
+ fi
125
129
gh run download $LATEST_PRIOR_RUN_ID -p ${OLD_BASENAME} -R NVIDIA/cuda-python
126
130
ls -al $OLD_BASENAME
127
131
mkdir -p "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"
You can’t perform that action at this time.
0 commit comments