diff --git a/.github/workflows/test_java.yml b/.github/workflows/test_java.yml index 1ebbcbd7bb..d8a8522263 100644 --- a/.github/workflows/test_java.yml +++ b/.github/workflows/test_java.yml @@ -112,7 +112,7 @@ jobs: shell: bash run: | LOCAL_MAVEN_GROUP_DIR="${HOME}/.m2/repository/com/google/protobuf" - VERSION=$(grep "" bazel-bin/java/core/core_mvn-pom.xml | sed "s/\(.*\)<\/version>/\1/" | xargs) + VERSION=$(grep "" core_mvn-pom.xml | sed "s/\(.*\)<\/version>/\1/" | xargs) cp core_mvn-pom.xml ${LOCAL_MAVEN_GROUP_DIR}/protobuf-java/${VERSION}/protobuf-java-${VERSION}.pom cp util_mvn-pom.xml ${LOCAL_MAVEN_GROUP_DIR}/protobuf-java-util/${VERSION}/protobuf-java-util-${VERSION}.pom - name: Clean up