File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 18
18
cache : gradle
19
19
- name : Run Gradle (check)
20
20
run : |
21
- ./gradlew check
21
+ ./gradlew check
22
+ - name : Run Gradle (assemble)
23
+ run : |
24
+ ./gradlew assemble
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ allprojects {
87
87
}
88
88
publications {
89
89
// add license information to generated poms
90
- all {
90
+ pluginZip( MavenPublication ) { publication ->
91
91
pom {
92
92
name = " opensearch-custom-codecs"
93
93
description = " OpenSearch plugin that implements custom compression codecs"
@@ -190,4 +190,13 @@ integTest {
190
190
testClusters. integTest {
191
191
testDistribution = " ARCHIVE"
192
192
plugin(project. tasks. bundlePlugin. archiveFile)
193
- }
193
+ }
194
+
195
+ tasks. withType(PublishToMavenRepository ) {
196
+ def predicate = provider {
197
+ publication. name == " pluginZip"
198
+ }
199
+ onlyIf(" Publishing only ZIP distributions" ) {
200
+ predicate. get()
201
+ }
202
+ }
You can’t perform that action at this time.
0 commit comments