Skip to content

Commit

Permalink
Set -ex in test_java.yml
Browse files Browse the repository at this point in the history
This will cause the script to fail if any command fails, which will make it easier to debug failures.

PiperOrigin-RevId: 658878371
  • Loading branch information
deannagarcia authored and zhangskz committed Aug 5, 2024
1 parent 671ef8b commit 6a7e215
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,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
Expand Down

0 comments on commit 6a7e215

Please sign in to comment.