Update maven settings to use Gitea. Added workflow publish.
build / build (21) (push) Failing after 11m19s
build / build (21) (push) Failing after 11m19s
This commit is contained in:
+10
-5
@@ -87,11 +87,16 @@ publishing {
|
||||
// The repositories here will be used for publishing your artifact, not for
|
||||
// retrieving dependencies.
|
||||
maven {
|
||||
name = "personal"
|
||||
url = "https://maven.bigduckie.dev/releases"
|
||||
credentials {
|
||||
username = System.getenv("MAVEN_USERNAME")
|
||||
password = System.getenv("MAVEN_PASSWORD")
|
||||
name = "Gitea"
|
||||
url = uri("https://git.bigduckie.dev/api/packages/big-duckie/maven")
|
||||
|
||||
credentials(HttpHeaderCredentials) {
|
||||
name = "Authorization"
|
||||
value = "token ${System.getenv("GITEA_MAVEN_TOKEN")}"
|
||||
}
|
||||
|
||||
authentication {
|
||||
header(HttpHeaderAuthentication)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user