You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/11/07 00:59:52 UTC

(beam) branch master updated: A couple small fixes to the pypi deploy action (#29321)

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new f3636f32b3f A couple small fixes to the pypi deploy action (#29321)
f3636f32b3f is described below

commit f3636f32b3f5a97bdd5c8421bf3b1f702ad0980f
Author: Danny McCormick <da...@google.com>
AuthorDate: Mon Nov 6 19:59:46 2023 -0500

    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 7f873dbdc2a..fd3994f658e 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-----------"