Skip to content

Commit

Permalink
revise publish settings
Browse files Browse the repository at this point in the history
  • Loading branch information
BaekGeunYoung committed Mar 13, 2024
1 parent ab28bf3 commit 1d22830
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ val commonPublishSettings = Seq(
Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
scala.sys.env.get("PACKAGE_GITHUB_TOKEN").fold(scala.sys.env("CHAI_GPR_USERNAME"))(_ => "iamport-github"),
scala.sys.env.getOrElse("PACKAGE_GITHUB_TOKEN", scala.sys.env("CHAI_GPR_TOKEN"))
scala.sys.env.getOrElse("GITHUB_ACTOR", ""),
scala.sys.env.getOrElse("GITHUB_TOKEN", "")
)
),
publishTo := Some(
Expand Down Expand Up @@ -61,7 +61,7 @@ lazy val core = projectMatrix
"dev.zio" %%% "zio-test-sbt" % Version.zio % "test"
)
)
// .settings(commonPublishSettings)
.settings(commonPublishSettings)
.jvmPlatform(
ScalaVersions,
Seq(
Expand Down Expand Up @@ -97,7 +97,7 @@ lazy val codeGen = projectMatrix
"com.thesamet.scalapb" %% "compilerplugin" % scalapb.compiler.Version.scalapbVersion
)
)
// .settings(commonPublishSettings)
.settings(commonPublishSettings)
.jvmPlatform(scalaVersions = ScalaVersions)

lazy val codeGenJVM212 = codeGen.jvm(Scala212)
Expand All @@ -113,7 +113,7 @@ lazy val protocGenZio = protocGenProject("protoc-gen-zio", codeGenJVM212)
(assembly / assemblyMergeStrategy).value.apply(x)
}
)
// .settings(commonPublishSettings)
.settings(commonPublishSettings)

lazy val e2eProtos =
projectMatrix
Expand Down

0 comments on commit 1d22830

Please sign in to comment.