Skip to content

Commit

Permalink
Gradle: publish to GH Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed May 22, 2024
1 parent a6f79cf commit f8f47a9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.micronaut.application") version "4.0.4"
id("maven-publish")
}

version = "0.1"
Expand Down Expand Up @@ -37,5 +38,15 @@ micronaut {
}
}



publishing {
repositories {
maven {
name = "GitHub Packages"
url = "https://maven.pkg.github.com/epsilonlabs/ecore2emfatic-cli"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

0 comments on commit f8f47a9

Please sign in to comment.