From 5d36fe1d2d1695cfc620a49615abd7bc4ed6813d Mon Sep 17 00:00:00 2001 From: Shiina Kin Date: Sun, 20 Oct 2024 21:03:50 +0800 Subject: [PATCH] chore: update GitHub credentials in app/build.gradle.kts --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index cb8fb728..363cc805 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -32,7 +32,7 @@ repositories { url = uri("https://maven.pkg.github.com/ShiinaKin/ktor-simple-cache") credentials { username = "ShiinaKin" - password = env.GITHUB_PAT.orNull() ?: System.getenv("GITHUB_TOKEN") + password = if (env.GITHUB_PAT.isPresent) env.GITHUB_PAT.value else System.getenv("GITHUB_TOKEN") } } }