File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 2020 env :
2121 PGP_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
2222 PGP_SECRET : ${{ secrets.GPG_PRIVATE_KEY }}
23- SONATYPE_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
24- SONATYPE_USERNAME : ${{ secrets.OSSRH_USERNAME }}
23+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
24+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Original file line number Diff line number Diff line change @@ -47,3 +47,10 @@ lazy val tests = project
4747 .settings(publish / skip := true )
4848 .dependsOn(input, rules)
4949 .enablePlugins(ScalafixTestkitPlugin )
50+
51+ // Sonatype Central publishing configuration
52+ ThisBuild / publishTo := {
53+ val centralSnapshots = " https://central.sonatype.com/repository/maven-snapshots/"
54+ if (isSnapshot.value) Some (" central-snapshots" at centralSnapshots)
55+ else localStaging.value
56+ }
Original file line number Diff line number Diff line change 1- sbt.version =1.10.6
1+ sbt.version = 1.11.2
Original file line number Diff line number Diff line change 1- addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.9.2 " )
1+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.11.1 " )
22addSbtPlugin(" ch.epfl.scala" % " sbt-scalafix" % " 0.13.0" )
33addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.4" )
44dependencyOverrides += " ch.epfl.scala" % " scalafix-interfaces" % " 0.13.0"
You can’t perform that action at this time.
0 commit comments