From 69ec28a7f21c0fb82ea9b810aca9f47f868fe05a Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 15 Feb 2024 04:43:40 +0100 Subject: [PATCH] build: Publish to GitHub Packages --- build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index b1486a4b3..20e0ff944 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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("revanced-patches-publication") { from(components["java"])