From ecc3ae986a210bf44da4beacdd14ed82aacee8f6 Mon Sep 17 00:00:00 2001 From: Anuj359 Date: Mon, 29 May 2023 14:36:53 +0530 Subject: [PATCH] Maven GitHub (#11762) * Create manual.yml * Maven actions triggering in various scenerios * Removing the testfile * Updating the event to push and adding mvn build version * Reverting the mvn release build version changes --- .github/workflows/publish-maven-package.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-maven-package.yml b/.github/workflows/publish-maven-package.yml index 25ca2eb8fe9..b987f053279 100644 --- a/.github/workflows/publish-maven-package.yml +++ b/.github/workflows/publish-maven-package.yml @@ -13,16 +13,20 @@ name: Publish Package to Maven Central Repository on: workflow_dispatch: - - pull_request_target: - types: - - closed + + push: + branches: + - main paths: - "openmetadata-service/**" - "openmetadata-spec/src/main/resources/json/schema/**" - "openmetadata-clients/**" - "pom.xml" + release: + types: + - published + permissions: contents: read