File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ jobs:
134
134
- env :
135
135
CI_SNAPSHOT_RELEASE : +publishSigned
136
136
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
137
- SONATYPE_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
138
- SONATYPE_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
137
+ SONATYPE_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
138
+ SONATYPE_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
139
139
PGP_SECRET : ${{ secrets.PGP_SECRET }}
140
140
run : sbt -J-Xmx2G ci-release
Original file line number Diff line number Diff line change 1
1
import sbtghactions .JavaSpec .Distribution .Zulu
2
2
import com .github .sbt .sbom ._
3
+ import xerial .sbt .Sonatype .sonatypeCentralHost
3
4
4
5
// Basic facts
5
6
name := " jackson-module-scala"
@@ -13,8 +14,8 @@ ThisBuild / scalaVersion := scala213Version
13
14
14
15
ThisBuild / crossScalaVersions := Seq (" 2.12.20" , scala213Version, " 3.3.6" )
15
16
16
- sonatypeCredentialHost := " s01.oss.sonatype.org "
17
- sonatypeRepository := " s01.oss.sonatype.org"
17
+ ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
18
+ ThisBuild / sonatypeRepository := sonatypeCentralHost // "s01.oss.sonatype.org"
18
19
19
20
resolvers ++= Resolver .sonatypeOssRepos(" snapshots" )
20
21
@@ -131,8 +132,8 @@ ThisBuild / githubWorkflowPublish := Seq(
131
132
env = Map (
132
133
" PGP_PASSPHRASE" -> " ${{ secrets.PGP_PASSPHRASE }}" ,
133
134
" PGP_SECRET" -> " ${{ secrets.PGP_SECRET }}" ,
134
- " SONATYPE_PASSWORD" -> " ${{ secrets.CI_DEPLOY_PASSWORD3 }}" ,
135
- " SONATYPE_USERNAME" -> " ${{ secrets.CI_DEPLOY_USERNAME3 }}" ,
135
+ " SONATYPE_PASSWORD" -> " ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}" ,
136
+ " SONATYPE_USERNAME" -> " ${{ secrets.CENTRAL_DEPLOY_USERNAME }}" ,
136
137
" CI_SNAPSHOT_RELEASE" -> " +publishSigned"
137
138
)
138
139
)
You can’t perform that action at this time.
0 commit comments