File tree Expand file tree Collapse file tree 2 files changed +6
-19
lines changed
Expand file tree Collapse file tree 2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -131,14 +131,11 @@ publish to PyPI.
1311311 . Go to ** Actions > CI: Release** and run the workflow with:
132132 - ** Component** : ` cuda-core `
133133 - ** The release git tag** : ` cuda-core-v0.6.0 `
134- - ** The GHA run ID that generated validated artifacts** : This is the
135- run ID of the successful tag-triggered CI run from the previous step.
136- You can find it in the URL when viewing the run in the Actions tab
137- (e.g. ` https://github.com/NVIDIA/cuda-python/actions/runs/123456789 `
138- — the run ID is ` 123456789 ` ).
139134 - ** build-ctk-ver** : the ` cuda.build.version ` from
140135 [ ` ci/versions.yml ` ] ( ../ci/versions.yml ) (e.g. ` 13.1.1 ` )
141136 - ** Which wheel index to publish to** : ` testpypi `
137+ The workflow automatically looks up the successful tag-triggered CI run
138+ for the selected release tag.
142139
1431402 . Wait for the workflow to complete.
144141
Original file line number Diff line number Diff line change 2323 description : " The release git tag"
2424 required : true
2525 type : string
26- run-id :
27- description : " The GHA run ID that generated validated artifacts (optional - auto-detects successful tag-triggered CI run for git-tag)"
28- required : false
29- type : string
30- default : " "
3126 build-ctk-ver :
3227 type : string
3328 required : true
@@ -60,15 +55,10 @@ jobs:
6055 env :
6156 GH_TOKEN : ${{ github.token }}
6257 run : |
63- if [[ -n "${{ inputs.run-id }}" ]]; then
64- echo "Using provided run ID: ${{ inputs.run-id }}"
65- echo "run-id=${{ inputs.run-id }}" >> $GITHUB_OUTPUT
66- else
67- echo "Auto-detecting successful tag-triggered run ID for tag: ${{ inputs.git-tag }}"
68- RUN_ID=$(./ci/tools/lookup-run-id "${{ inputs.git-tag }}" "${{ github.repository }}")
69- echo "Auto-detected run ID: $RUN_ID"
70- echo "run-id=$RUN_ID" >> $GITHUB_OUTPUT
71- fi
58+ echo "Auto-detecting successful tag-triggered run ID for tag: ${{ inputs.git-tag }}"
59+ RUN_ID=$(./ci/tools/lookup-run-id "${{ inputs.git-tag }}" "${{ github.repository }}")
60+ echo "Auto-detected run ID: $RUN_ID"
61+ echo "run-id=$RUN_ID" >> $GITHUB_OUTPUT
7262
7363 check-tag :
7464 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments