From a4fa78bba85f14722a198c3a51ff44d8afe19305 Mon Sep 17 00:00:00 2001 From: Jake Awe Date: Mon, 24 Jun 2024 13:10:08 -0500 Subject: [PATCH] add publish to pr workflow --- .github/workflows/build.yaml | 2 +- .github/workflows/pr.yaml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index acae45c6f..3d284b469 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -86,4 +86,4 @@ jobs: branch: ${{ inputs.branch }} sha: ${{ inputs.sha }} date: ${{ inputs.date }} - package-name: cucim + package-name: cucim diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5020f00c3..9b5301d88 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -19,6 +19,7 @@ jobs: - docs-build - wheel-build - wheel-tests + - wheel-publish secrets: inherit uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.08 checks: @@ -66,3 +67,13 @@ jobs: with: build_type: pull-request script: ci/test_wheel.sh + wheel-publish: + needs: wheel-build + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@test_pypi_trusted_publish + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + package-name: cucim