Skip to content

Commit

Permalink
A couple small fixes to the pypi deploy action (#29321)
Browse files Browse the repository at this point in the history
* Update deploy_release_candidate_pypi.yaml to checkout master

* get to right location for artifacts

* Debug info

* Use RC number from inputs
  • Loading branch information
damccorm authored Nov 7, 2023
1 parent 29c0b41 commit f3636f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy_release_candidate_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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-----------"
Expand Down

0 comments on commit f3636f3

Please sign in to comment.