Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Kwieciński committed Sep 27, 2019
1 parent a67e7b2 commit fc19884
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish project
on:
push:
branches:
- master
- 'release/*'

jobs:
build:
Expand All @@ -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
7 changes: 6 additions & 1 deletion plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit fc19884

Please sign in to comment.