Skip to content

Commit

Permalink
Revert "Update Build Wheels to only build once on RCs" (#32014)
Browse files Browse the repository at this point in the history
* Revert "Update Build Wheels to only build once on RCs (#32009)"

This reverts commit ffae5b5.

* Add 8 hour timeout
  • Loading branch information
jrmccluskey authored Jul 29, 2024
1 parent 9e431b4 commit 5d13894
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ jobs:
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
runs-on: ${{ matrix.os_python.runner }}
timeout-minutes: 480
strategy:
matrix:
os_python: [
Expand All @@ -236,7 +237,6 @@ 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:
Expand All @@ -260,7 +260,6 @@ 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 }}
Expand All @@ -273,15 +272,13 @@ 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
sha512sum $file > ${file}.sha512
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:
Expand Down

0 comments on commit 5d13894

Please sign in to comment.