diff --git a/.github/actions/install/action.yaml b/.github/actions/install/action.yaml index fa32fac..7657421 100644 --- a/.github/actions/install/action.yaml +++ b/.github/actions/install/action.yaml @@ -6,13 +6,13 @@ runs: - name: Install Bazel (linux) run: | if [ "$RUNNER_OS" == "macOS" ]; then - curl -L -O "https://github.com/bazelbuild/bazel/releases/download/4.2.1/bazel-4.2.1-installer-darwin-x86_64.sh" - chmod a+x ./bazel-4.2.1-installer-darwin-x86_64.sh - ./bazel-4.2.1-installer-darwin-x86_64.sh + curl -L -O "https://github.com/bazelbuild/bazel/releases/download/5.3.2/bazel-5.3.2-installer-darwin-x86_64.sh" + chmod a+x ./bazel-5.3.2-installer-darwin-x86_64.sh + ./bazel-5.3.2-installer-darwin-x86_64.sh elif [ "$RUNNER_OS" == "Linux" ]; then - wget 'https://github.com/bazelbuild/bazel/releases/download/4.2.1/bazel_4.2.1-linux-x86_64.deb' - chmod +x bazel_4.2.1-linux-x86_64.deb - sudo dpkg -i bazel_4.2.1-linux-x86_64.deb + wget 'https://github.com/bazelbuild/bazel/releases/download/5.3.2/bazel_5.3.2-linux-x86_64.deb' + chmod +x bazel_5.3.2-linux-x86_64.deb + sudo dpkg -i bazel_5.3.2-linux-x86_64.deb else echo 'Unrecognized OS' fi diff --git a/.github/workflows/bazel_test.yaml b/.github/workflows/bazel_test.yaml index 5091082..aaa3f89 100644 --- a/.github/workflows/bazel_test.yaml +++ b/.github/workflows/bazel_test.yaml @@ -26,5 +26,5 @@ jobs: - name: Run tests run: | - bazel test //src/... + bazel test //src/... --incompatible_java_common_parameters=false bazel build //:maven_export_lib.publish diff --git a/BUILD b/BUILD index ea1f7d5..5751e66 100644 --- a/BUILD +++ b/BUILD @@ -5,7 +5,7 @@ load("@rules_jvm_external//:defs.bzl", "java_export") java_export( name = "maven_export_lib", - maven_coordinates = "me.dinowernli:java-grpc-prometheus:0.5.0", + maven_coordinates = "me.dinowernli:java-grpc-prometheus:0.6.0", pom_template = "//:pom_template.xml", # Make sure these show up in the dependencies of the resulting POM. runtime_deps = [