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 20
20
env :
21
21
PGP_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
22
22
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
47
47
.settings(publish / skip := true )
48
48
.dependsOn(input, rules)
49
49
.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 " )
2
2
addSbtPlugin(" ch.epfl.scala" % " sbt-scalafix" % " 0.13.0" )
3
3
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.4" )
4
4
dependencyOverrides += " ch.epfl.scala" % " scalafix-interfaces" % " 0.13.0"
You can’t perform that action at this time.
0 commit comments