This is an automated email from the ASF dual-hosted git repository. damccorm pushed a commit to branch release-2.58.0 in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/release-2.58.0 by this push: new 0a4bdc370ae Update Build Wheels to only build once on RCs (#32009) (#32010) 0a4bdc370ae is described below commit 0a4bdc370ae6532151bedf296286be34d1c13473 Author: Jack McCluskey <34928439+jrmcclus...@users.noreply.github.com> AuthorDate: Mon Jul 29 10:23:56 2024 -0400 Update Build Wheels to only build once on RCs (#32009) (#32010) --- .github/workflows/build_wheels.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index dc14359aa88..35a21626d2a 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -236,6 +236,7 @@ jobs: arch: aarch64 steps: - name: Download python source distribution from artifacts + if: ${{ needs.build_source.outputs.is_rc == 0 }} # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249 uses: actions/download-artifact@v3 with: @@ -259,6 +260,7 @@ jobs: # note: sync cibuildwheel version with gradle task sdks:python:bdistPy* steps run: pip install cibuildwheel==2.17.0 setuptools - name: Build wheel + if: ${{ needs.build_source.outputs.is_rc == 0 }} working-directory: apache-beam-source env: CIBW_BUILD: ${{ matrix.os_python.python }} @@ -271,6 +273,7 @@ jobs: if: startsWith(matrix.os_python.os, 'macos') run: brew install coreutils - name: Add checksums + if: ${{ needs.build_source.outputs.is_rc == 0 }} working-directory: apache-beam-source/wheelhouse/ run: | for file in *.whl; do @@ -278,6 +281,7 @@ jobs: done shell: bash - name: Upload wheels as artifacts + if: ${{ needs.build_source.outputs.is_rc == 0 }} # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249 uses: actions/upload-artifact@v3 with: