diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 17c6498c50..791285d1e6 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -21,6 +21,11 @@ on: required: false default: "" type: string + run-id: + description: "The GHA run ID that generated validated artifacts" + required: false + default: ${{ github.run_id }} + type: string is-release: description: "Are we building release docs?" required: false @@ -95,6 +100,7 @@ jobs: with: name: cuda-python-wheel path: . + run-id: ${{ inputs.run-id }} - name: Display structure of downloaded cuda-python artifacts run: | @@ -106,6 +112,7 @@ jobs: with: name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }} path: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }} + run-id: ${{ inputs.run-id }} - name: Display structure of downloaded cuda.bindings artifacts run: | @@ -117,6 +124,7 @@ jobs: with: name: ${{ env.CUDA_CORE_ARTIFACT_NAME }} path: ${{ env.CUDA_CORE_ARTIFACTS_DIR }} + run-id: ${{ inputs.run-id }} - name: Display structure of downloaded cuda.core build artifacts run: | diff --git a/.github/workflows/release-upload.yml b/.github/workflows/release-upload.yml index 5fa58de92c..d88d3632f7 100644 --- a/.github/workflows/release-upload.yml +++ b/.github/workflows/release-upload.yml @@ -29,7 +29,10 @@ jobs: ARCHIVE_NAME: ${{ github.event.repository.name }}-${{ inputs.git-tag }} steps: - name: Checkout Source - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ inputs.git-tag }} - name: Create Release Directory run: mkdir -p release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b93a1e0b0..ebedcb9d3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,10 +32,6 @@ on: options: - testpypi - pypi - #print_tags: - # description: 'True to print to STDOUT' - # required: true - # type: boolean defaults: run: @@ -92,6 +88,7 @@ jobs: build-ctk-ver: ${{ inputs.build-ctk-ver }} component: ${{ inputs.component }} git-tag: ${{ inputs.git-tag }} + run-id: ${{ inputs.run-id }} is-release: true upload-archive: