chore: fix credentials for publishing

This commit is contained in:
Lucaskyy 2022-03-20 20:32:17 +01:00
parent cd1baabe2e
commit 5ecbbfc954
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89

View File

@ -33,8 +33,8 @@ publishing {
name = "GitHubPackages" name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ReVancedTeam/revanced-patcher") url = uri("https://maven.pkg.github.com/ReVancedTeam/revanced-patcher")
credentials { credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") username = System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") password = System.getenv("GITHUB_TOKEN")
} }
} }
} }