Skip to content

Commit

Permalink
sonatypeCentralHost
Browse files Browse the repository at this point in the history
  • Loading branch information
yurique committed Dec 15, 2024
1 parent 6e5873c commit 19e13b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import org.commonmark.renderer.html.HtmlRenderer
import org.typelevel.scalacoptions.ScalaVersion.V3_0_0
import org.typelevel.scalacoptions.ScalacOptions

import xerial.sbt.Sonatype.sonatypeCentralHost

val disableWebsiteOnCI = true

val ciVariants = List("ciFirefox", "ciChrome", "ciJSDOMNodeJS")
Expand Down Expand Up @@ -52,8 +54,8 @@ inThisBuild(
versionPolicyIntention := Compatibility.BinaryCompatible,
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17")),
// githubWorkflowBuild += WorkflowStep.Sbt(List("versionPolicyCheck")),
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
sonatypeCredentialHost := sonatypeCentralHost,
// sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowArtifactUpload := false,
githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))),
Expand Down

0 comments on commit 19e13b8

Please sign in to comment.