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 }}