diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index bcdae93d..20bbb4e5 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -4,8 +4,9 @@ name: Publish package to the Maven Central Repository on: - workflow_dispatch - + release: + types: [published] + jobs: publish: runs-on: ubuntu-latest diff --git a/onfido-java/pom.xml b/onfido-java/pom.xml index 29b0ddc9..e4f90b7f 100644 --- a/onfido-java/pom.xml +++ b/onfido-java/pom.xml @@ -4,7 +4,7 @@ com.onfido onfido-api-java - 2.0.1 + 2.1.0 Onfido API Java Client Official Java API client library for the Onfido API