Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 2bab23b

Browse files
committed
fix: read credentials from gradle properties
1 parent 25a3958 commit 2bab23b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manager-downloader-plugin/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ publishing {
4848
name = "GitHubPackages"
4949
url = uri("https://maven.pkg.github.com/revanced/revanced-manager-downloader-api")
5050
credentials {
51-
username = System.getenv("GITHUB_ACTOR")
52-
password = System.getenv("GITHUB_TOKEN")
51+
username = System.getenv("GITHUB_ACTOR") ?: extra["gpr.user"] as String?
52+
password = System.getenv("GITHUB_TOKEN") ?: extra["gpr.key"] as String?
5353
}
5454
}
5555
}
@@ -86,4 +86,4 @@ publishing {
8686
}
8787
}
8888
}
89-
}
89+
}

0 commit comments

Comments
 (0)