File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 26
26
- cron : ' 0 3 * * *' # Every day at 3 AM
27
27
workflow_dispatch :
28
28
29
- # Cancels any in-progress runs within the same group identified by workflow name and GH reference (branch or tag)
29
+ # Cancels any in-progress runs within the same group identified by workflow name and GH reference (branch or tag)
30
30
# For example it would:
31
31
# - terminate previous PR CI execution after pushing more changes to the same PR branch
32
- # - terminate previous on-push CI run after merging new PR to main
32
+ # - terminate previous on-push CI run after merging new PR to main
33
33
concurrency :
34
34
group : ${{ github.workflow }}-${{ github.ref }}
35
35
cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
@@ -692,7 +692,7 @@ jobs:
692
692
- name : Publish Nightly
693
693
if : " steps.not_yet_published.outcome == 'success'"
694
694
run : |
695
- ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease "
695
+ ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonaRelease "
696
696
697
697
nightly_documentation :
698
698
runs-on : [self-hosted, Linux]
@@ -862,7 +862,7 @@ jobs:
862
862
scala3-${{ env.RELEASE_TAG }}.msi
863
863
864
864
- name : Publish Release
865
- run : ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleUpload "
865
+ run : ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonaUpload "
866
866
867
867
868
868
open_issue_on_failure :
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import dotty.tools.sbtplugin.ScalaLibraryPlugin
27
27
28
28
import sbt .plugins .SbtPlugin
29
29
import sbt .ScriptedPlugin .autoImport ._
30
- import xerial .sbt .Sonatype .autoImport ._
31
30
import com .typesafe .tools .mima .plugin .MimaPlugin .autoImport ._
32
31
import org .scalajs .sbtplugin .ScalaJSPlugin
33
32
import org .scalajs .sbtplugin .ScalaJSPlugin .autoImport ._
@@ -2193,7 +2192,11 @@ object Build {
2193
2192
lazy val publishSettings = Seq (
2194
2193
publishMavenStyle := true ,
2195
2194
isSnapshot := version.value.contains(" SNAPSHOT" ),
2196
- publishTo := sonatypePublishToBundle.value,
2195
+ publishTo := {
2196
+ val centralSnapshots = " https://central.sonatype.com/repository/maven-snapshots/"
2197
+ if (isSnapshot.value) Some (" central-snapshots" at centralSnapshots)
2198
+ else localStaging.value
2199
+ },
2197
2200
publishConfiguration ~= (_.withOverwrite(true )),
2198
2201
publishLocalConfiguration ~= (_.withOverwrite(true )),
2199
2202
projectID ~= {id =>
Original file line number Diff line number Diff line change 1
- sbt.version =1.10.7
1
+ sbt.version =1.11.0
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ libraryDependencySchemes +=
8
8
9
9
addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.19.0" )
10
10
11
- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.21" )
12
-
13
11
addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.2.1" )
14
12
15
13
addSbtPlugin(" pl.project13.scala" % " sbt-jmh" % " 0.4.5" )
You can’t perform that action at this time.
0 commit comments