Skip to content

Commit 7a7850b

Browse files
committed
Fix env vars
1 parent 9fc8fc4 commit 7a7850b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/kotlin/GitHubPackages.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fun RepositoryHandler.githubPackages(
2424
name = "GitHubPackages"
2525
url = uri("https://maven.pkg.github.com/$repo")
2626
credentials {
27-
username = findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
28-
password = findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
27+
username = findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR")
28+
password = findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
2929
}
3030
setup()
3131
}

0 commit comments

Comments
 (0)