From f3636f32b3f5a97bdd5c8421bf3b1f702ad0980f Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 6 Nov 2023 19:59:46 -0500 Subject: [PATCH] A couple small fixes to the pypi deploy action (#29321) * Update deploy_release_candidate_pypi.yaml to checkout master * get to right location for artifacts * Debug info * Use RC number from inputs --- .github/workflows/deploy_release_candidate_pypi.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_release_candidate_pypi.yaml b/.github/workflows/deploy_release_candidate_pypi.yaml index 7f873dbdc2ab..fd3994f658e8 100644 --- a/.github/workflows/deploy_release_candidate_pypi.yaml +++ b/.github/workflows/deploy_release_candidate_pypi.yaml @@ -35,9 +35,6 @@ jobs: echo "::add-mask::${{ github.event.inputs.PYPI_PASSWORD }}" - name: Checkout uses: actions/checkout@v4 - with: - ref: "v${{ github.event.inputs.RELEASE }}-RC${{ github.event.inputs.RC }}" - repository: apache/beam - name: Setup environment uses: ./.github/actions/setup-environment-action with: @@ -70,8 +67,11 @@ jobs: --rc_number "${{ github.event.inputs.RC }}" \ --yes True - echo "------Checking Hash Value for apache-beam-${RELEASE}rc${RC_NUMBER}.tar.gz-----" - sha512sum -c "apache-beam-${RELEASE}rc${RC_NUMBER}.tar.gz.sha512" + cd "${PYTHON_ARTIFACTS_DIR}" + ls + + echo "------Checking Hash Value for apache-beam-${RELEASE}rc${{ github.event.inputs.RC }}.tar.gz-----" + sha512sum -c "apache-beam-${RELEASE}rc${{ github.event.inputs.RC }}.tar.gz.sha512" for artifact in *.whl; do echo "----------Checking Hash Value for ${artifact} wheel-----------"