mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-25 11:40:16 +08:00
Upload files to mirai-repo without "-all"
This commit is contained in:
parent
9b538e8185
commit
5665bde12c
@ -59,8 +59,9 @@ class MiraiConsoleBuildPlugin : Plugin<Project> {
|
||||
runCatching {
|
||||
upload.GitHub.upload(
|
||||
file,
|
||||
"https://api.github.com/repos/project-mirai/mirai-repo/contents/shadow/${project.name}/$filename",
|
||||
project
|
||||
project,
|
||||
"mirai-repo",
|
||||
"shadow/${project.name}/${filename.replace("-all", "")}"
|
||||
)
|
||||
}.exceptionOrNull()?.let {
|
||||
System.err.println("GitHub Upload failed")
|
||||
|
Loading…
Reference in New Issue
Block a user