From 8714892d19feba851d25be465f51d766be697244 Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Fri, 2 Aug 2024 12:53:24 -0700 Subject: [PATCH] Set -ex in test_java.yml This will cause the script to fail if any command fails, which will make it easier to debug failures. PiperOrigin-RevId: 658878371 --- .github/workflows/test_java.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_java.yml b/.github/workflows/test_java.yml index cad3aa6f9e..7d4b979e14 100644 --- a/.github/workflows/test_java.yml +++ b/.github/workflows/test_java.yml @@ -95,6 +95,7 @@ jobs: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: java_linux/11 bash: | + set -ex bazel build //java:release mvn install:install-file -Dfile=bazel-bin/java/core/core_mvn-project.jar -DpomFile=bazel-bin/java/core/core_mvn-pom.xml mvn install:install-file -Dfile=bazel-bin/java/core/lite_mvn-project.jar -DpomFile=bazel-bin/java/core/lite_mvn-pom.xml