From ae92c14835af39e9076173382b5ecb01216e0406 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 18 Apr 2023 15:48:34 -0700 Subject: [PATCH] Updated upb to use Bazel 5.4.0 for Python cross-compiling tests. PiperOrigin-RevId: 525273272 --- .github/workflows/python_tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 62954e2d64..a847b31700 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -17,7 +17,8 @@ jobs: runs-on: ubuntu-large if: ${{ github.event.pull_request.head.repo.full_name == 'protocolbuffers/upb' }} env: - DOCKER_IMAGE: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple@sha256:8f5ae27bccb454068b14a6fe50628adf2ce867ddf3b15807aaf1d9d4affcbc51 + # Bazel 5.4.0. Once we have moved to toolchains, we can update to Bazel 6.x. + DOCKER_IMAGE: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple@sha256:bb1d14738449916d489c1cbb062508c4dca5bd265ea3e67a2628ae40912b9b00 steps: - uses: actions/checkout@v2 @@ -32,6 +33,8 @@ jobs: run: gcloud auth configure-docker -q us-docker.pkg.dev - name: Pull Docker Image run: docker pull $DOCKER_IMAGE + - name: Check Bazel version + run: cd ${{ github.workspace }} && docker run -v$PWD:/workspace $DOCKER_IMAGE --version - id: bazel-cache name: Set up Bazel caching uses: ./.github/actions/setup-bazel-cache