Skip to content

Commit 5fddcc1

Browse files
committed
fix: publish all-editor-plugins.zip to artifacts.itemis.cloud
1 parent 0db7399 commit 5fddcc1

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

build.gradle.kts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ subprojects {
6666
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") }
6767
mavenCentral()
6868
}
69+
}
6970

71+
allprojects {
7072
publishing {
7173
repositories {
7274
if (project.hasProperty("artifacts.itemis.cloud.user")) {
@@ -166,20 +168,6 @@ val packageAllPlugins by tasks.registering(Zip::class) {
166168

167169
// publish all-editor-plugins.zip to GitHub packages to make it appear on the releases page
168170
publishing {
169-
repositories {
170-
val gprUser = project.findProperty("gpr.user") as? String ?: System.getenv("GITHUB_ACTOR")
171-
val gprToken = project.findProperty("gpr.key") as? String ?: System.getenv("GITHUB_TOKEN")
172-
if (gprUser.isNotBlank() && gprToken.isNotBlank()) {
173-
maven {
174-
name = "GitHubPackages"
175-
url = uri("https://maven.pkg.github.com/modelix/modelix.text-editor")
176-
credentials {
177-
username = gprUser
178-
password = gprToken
179-
}
180-
}
181-
}
182-
}
183171
publications {
184172
create<MavenPublication>("maven") {
185173
artifactId = "all-editor-plugins"

0 commit comments

Comments
 (0)