build: Publish to GitHub Packages

This commit is contained in:
oSumAtrIX 2024-02-15 04:43:40 +01:00
parent d789fd6b5a
commit 69ec28a7f2
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -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"])