From 4ba05ba2542c2b000f4c371c6fa0fffe03ee5e69 Mon Sep 17 00:00:00 2001 From: Chen22 Date: Thu, 10 Jun 2021 17:33:28 -0700 Subject: [PATCH] feat: bazel clean before build libzetasql --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2f7c0597d..fde6345cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -148,7 +148,8 @@ jobs: - name: build zetasql parser dependencies if: ${{ github.event_name == 'push' }} run: | - bazel query 'deps(${{ env.target }})' |grep //zetasql | grep -v "test" | xargs bazel build ${{ env.build_argv }} + bazel clean --expunge + bazel query 'deps(//zetasql/parser:parser)' |grep //zetasql | xargs bazel build ${{ env.build_argv }} bazel build "@com_googleapis_googleapis//:all" ${{ env.build_argv }} bazel query "@com_google_file_based_test_driver//..." |xargs bazel build ${{ env.build_argv }} bazel build "@com_googlesource_code_re2//:re2" ${{ env.build_argv }}