From 1d22830a41b02c0ee9f0291da6280c1d6c3f5d29 Mon Sep 17 00:00:00 2001 From: BaekGeunYoung Date: Wed, 13 Mar 2024 16:17:03 +0900 Subject: [PATCH] revise publish settings --- build.sbt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sbt b/build.sbt index 2cd1c5b1..9a5f340c 100644 --- a/build.sbt +++ b/build.sbt @@ -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( @@ -61,7 +61,7 @@ lazy val core = projectMatrix "dev.zio" %%% "zio-test-sbt" % Version.zio % "test" ) ) -// .settings(commonPublishSettings) + .settings(commonPublishSettings) .jvmPlatform( ScalaVersions, Seq( @@ -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) @@ -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