File tree 3 files changed +33
-0
lines changed
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(
47
47
sonatypeProfileName := " testcontainers-scala" ,
48
48
sonatypeProjectHosting
:= Some (
GitHubHosting (
" testcontainers" ,
" testcontainers-scala" ,
" [email protected] " )),
49
49
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
+ ),
50
58
ThisBuild / organization := " com.dimafeng" ,
51
59
52
60
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")
2
2
addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.3.0" )
3
3
addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.1.0" )
4
4
addSbtPlugin(" 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