From 295a83e7ed1a5d701ceb2e617f50541045fcfa2b Mon Sep 17 00:00:00 2001 From: Stiliyan Nanovski Date: Mon, 26 Aug 2024 00:08:55 +0300 Subject: [PATCH] Revert to the old publishing data for packages. --- library/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/build.gradle b/library/build.gradle index caf6402..6c18dfc 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -46,8 +46,8 @@ publishing { name = "mad4j" url = uri("https://maven.pkg.github.com/stelitop/mad4j") credentials { - username = System.getenv("GITHUB_ACTOR") - password = System.getenv("GITHUB_TOKEN") + username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") + password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") } } }