added gitea action
Some checks failed
CI / build (push) Failing after 2m50s

This commit is contained in:
2024-03-24 18:33:51 +08:00
parent a0b7f5c016
commit 76c1dec894
2 changed files with 31 additions and 2 deletions

View File

@@ -69,11 +69,20 @@ compileJava {
options.compilerArgs << '--patch-module' << patchString
}
publishing {
repositories {
maven {
url = 'https://mvn.woggioni.net/'
name = "Gitea"
url = uri("https://woggioni.net/gitea/api/packages/woggioni/maven")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${System.getenv()["PUBLISHER_TOKEN"]}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
publications {