diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c718eb2..a2b529d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,9 @@ jobs: key: ${{ runner.os }}-sbt-${{ hashFiles('build.sbt') }}-${{ hashFiles('project/*.scala') }} restore-keys: ${{ runner.os }}-sbt- - name: Publish - run: | - csbt ci-release - SCALAJS_VERSION=0.6.33 csbt ci-release + run: csbt ci-release + - name: Publish 0.6 + run: SCALAJS_VERSION=0.6.33 csbt ci-release env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/.gitignore b/.gitignore index 2313b80a..71d7b09e 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,7 @@ tmp/ .project .scala_dependencies .settings/ +project/metals.sbt # Mac OS X ._* diff --git a/build.sbt b/build.sbt index f4beee11..3d28ced8 100644 --- a/build.sbt +++ b/build.sbt @@ -49,7 +49,6 @@ lazy val squants = parallelExecution in Test := false, excludeFilter in Test := "*Serializer.scala" || "*SerializerSpec.scala", scalacOptions in Tut --= Seq("-Ywarn-unused-import", "-Ywarn-unused:imports"), - // sources in (Compile, test) := List() // This is a pity but we can't reliable compile on 1.0.0-M8 ) .jsSettings(Tests.defaultSettings: _*) .nativeSettings( @@ -60,9 +59,15 @@ lazy val squants = lazy val root = project.in(file(".")) .settings(defaultSettings: _*) + .settings(noPublishSettings) .settings( name := "squants", - publish := {}, - publishLocal := {} ) .aggregate(squants.jvm, squants.js, squants.native) + +lazy val noPublishSettings = Seq( + publish := {}, + publishLocal := {}, + publishArtifact := false, + skip in publish := true +)