Skip to content

Commit 6a7e215

Browse files
deannagarciazhangskz
authored andcommitted
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
1 parent 671ef8b commit 6a7e215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test_java.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
8686
bazel-cache: java_linux/11
8787
bash: |
88+
set -ex
8889
bazel build //java:release
8990
mvn install:install-file -Dfile=bazel-bin/java/core/core_mvn-project.jar -DpomFile=bazel-bin/java/core/core_mvn-pom.xml
9091
mvn install:install-file -Dfile=bazel-bin/java/core/lite_mvn-project.jar -DpomFile=bazel-bin/java/core/lite_mvn-pom.xml

0 commit comments

Comments
 (0)