chore: fix credentials for publishing

This commit is contained in:
Lucaskyy
2022-03-20 20:32:17 +01:00
parent cd1baabe2e
commit 5ecbbfc954

View File

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