Skip to content

Commit

Permalink
ci: publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
borgoat committed May 12, 2022
1 parent 001f90a commit f530d3a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.6.20"
id("maven-publish")
}

group = "com.github.borgoat"
Expand All @@ -21,4 +22,17 @@ tasks.test {

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/borgoat/markovaldo")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

0 comments on commit f530d3a

Please sign in to comment.