File tree Expand file tree Collapse file tree 3 files changed +35
-9
lines changed Expand file tree Collapse file tree 3 files changed +35
-9
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches : [master, main]
5+ tags : ["**"]
6+ jobs :
7+ publish :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ with :
12+ fetch-depth : 0
13+ - uses : actions/setup-java@v5
14+ with :
15+ distribution : temurin
16+ java-version : 8
17+ cache : sbt
18+ - uses : sbt/setup-sbt@v1
19+ - run : sbt ci-release
20+ env :
21+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
22+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
23+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
24+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
25+ CI_RELEASE : ${{ secrets.CI_RELEASE }}
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ lazy val commonSettings = Seq(
4848 homepage := Some (url(" https://github.com/flink-extended/flink-scala-api" )),
4949 sonatypeCredentialHost := sonatypeCentralHost,
5050 sonatypeRepository := " https://s01.oss.sonatype.org/service/local" ,
51- publishMavenStyle := true ,
52- publishTo := sonatypePublishToBundle.value,
51+ // publishMavenStyle := true,
52+ // publishTo := sonatypePublishToBundle.value,
5353 pgpPassphrase := scala.util.Properties .propOrNone(" gpg.passphrase" ).map(_.toCharArray),
5454 git.useGitDescribe := true ,
5555 scalacOptions ++= Seq (
Original file line number Diff line number Diff line change 1- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.12.2" )
2- addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.3.1" )
3- addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.5" )
4- addSbtPlugin(" org.scalameta" % " sbt-mdoc" % " 2.7.2" )
5- addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.4.0" )
6- addSbtPlugin(" com.github.sbt" % " sbt-git" % " 2.1.0" )
7- addSbtPlugin(" com.github.sbt" % " sbt-protobuf" % " 0.8.3" )
1+ // addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
2+ // addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
3+ addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.5" )
4+ addSbtPlugin(" org.scalameta" % " sbt-mdoc" % " 2.7.2" )
5+ addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.4.0" )
6+ // addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0")
7+ addSbtPlugin(" com.github.sbt" % " sbt-protobuf" % " 0.8.3" )
8+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.11.2" )
You can’t perform that action at this time.
0 commit comments