File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches : [master]
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@v4
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 }}
Original file line number Diff line number Diff line change @@ -47,6 +47,14 @@ val commonSettings = Seq(
4747 sonatypeProfileName := " testcontainers-scala" ,
4848 sonatypeProjectHosting
:= Some (
GitHubHosting (
" testcontainers" ,
" testcontainers-scala" ,
" [email protected] " )),
4949 licenses := Seq (" The MIT License (MIT)" -> URI .create(" https://opensource.org/licenses/MIT" ).toURL),
50+ developers := List (
51+ Developer (
52+ " dimafeng" ,
53+ " Dmitry Fedosov" ,
54+ 55+ url(" http://dimafeng.com" )
56+ )
57+ ),
5058 ThisBuild / organization := " com.dimafeng" ,
5159
5260 Global / parallelExecution := false ,
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
22addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.3.0" )
33addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.1.0" )
44addSbtPlugin(" org.scalastyle" %% " scalastyle-sbt-plugin" % " 1.0.0" )
5+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.5.12" )
You can’t perform that action at this time.
0 commit comments