diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dfee33a..0f62b9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,11 @@ name: publish -on: workflow_dispatch +on: + repository_dispatch: + types: manual-publish + release: + types: [ created ] jobs: publish: diff --git a/build.gradle b/build.gradle index d669096..9bb9642 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { id 'io.github.gradle-nexus.publish-plugin' version '1.3.0' // publish to Maven Central id 'com.github.ben-manes.versions' version '0.49.0' // check for out-of-date dependencies (run 'dependencyUpdates' manually) id 'org.sonatype.gradle.plugins.scan' version '2.6.1' // scan for vulnerabilities - id "org.sonarqube" version "4.4.1.3373"// sonarQube analysis + id 'org.sonarqube' version '4.4.1.3373' // sonarQube analysis } group = 'com.imsweb'