diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8c1ded0..1d0afe1f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish project on: push: branches: - - master + - 'release/*' jobs: build: @@ -19,4 +19,4 @@ jobs: - name: Build app with Gradle run: ./gradlew build - name: Publish to Github Package Registry - run: ./gradlew publish -DGH_TOKEN=${{ secrets.GITHUB_TOKEN }} + run: ./gradlew publish -PGH_TOKEN=${{ secrets.GITHUB_TOKEN }} --continue diff --git a/plugins/build.gradle b/plugins/build.gradle index fd1dea8c..bfb5c5ab 100644 --- a/plugins/build.gradle +++ b/plugins/build.gradle @@ -33,10 +33,15 @@ publishing { } } } + publications { + register("jar", MavenPublication) { + from(components.java) + } + } } gradlePlugin { plugins { - greeting { + quality { id = 'com.starter.quality' implementationClass = 'com.project.starter.quality.plugins.QualityPlugin' }