Skip to content

Commit

Permalink
build: Publish to GitHub Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Feb 21, 2024
1 parent d789fd6 commit 69ec28a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ tasks {
}

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

publications {
create<MavenPublication>("revanced-patches-publication") {
from(components["java"])
Expand Down

0 comments on commit 69ec28a

Please sign in to comment.