diff --git a/java-workflows/samples/install-without-bom/pom.xml b/java-workflows/samples/install-without-bom/pom.xml
index 6b4c64f340e8..273d27a36125 100644
--- a/java-workflows/samples/install-without-bom/pom.xml
+++ b/java-workflows/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-workflows
- 0.4.0
+ 0.4.2
diff --git a/java-workflows/samples/snippets/pom.xml b/java-workflows/samples/snippets/pom.xml
index f83bd14742ce..e8de18a60a18 100644
--- a/java-workflows/samples/snippets/pom.xml
+++ b/java-workflows/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-workflows
- 0.4.0
+ 0.4.2