File tree 3 files changed +44
-1
lines changed
3 files changed +44
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches : main
5
+ tags : ["*"]
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout Metakit repo
11
+ uses : actions/checkout@v4
12
+ with :
13
+ fetch-depth : 0
14
+
15
+ - name : Checkout Tessellation repo
16
+ uses : actions/checkout@v4
17
+ with :
18
+ repository : Constellation-Labs/tessellation
19
+ ref : v2.12.0
20
+ path : tessellation
21
+
22
+ - name : Setup Java, Scala, and SBT
23
+ uses : olafurpg/setup-scala@v14
24
+ with :
25
+
26
+
27
+ - name : Build and publish Tessellation artifacts locally
28
+ working-directory : tessellation
29
+ run : sbt publishLocal
30
+
31
+ - name : Build and publish Metakit artifacts to Maven
32
+ run : sbt ci-release
33
+ env :
34
+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
35
+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
36
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
37
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Original file line number Diff line number Diff line change @@ -2,8 +2,13 @@ import Dependencies.*
2
2
import sbt .*
3
3
import sbt .Keys .*
4
4
5
- ThisBuild / version := " 0.1.0"
6
5
ThisBuild / organization := " io.constellationnetwork"
6
+ ThisBuild / homepage := Some (url(" https://github.com/Constellation-Labs/metakit" ))
7
+ ThisBuild / licenses := List (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" ))
8
+
9
+ ThisBuild / sonatypeCredentialHost := " s01.oss.sonatype.org"
10
+ sonatypeRepository := " https://s01.oss.sonatype.org/service/local"
11
+
7
12
ThisBuild / scalaVersion := " 2.13.15"
8
13
ThisBuild / evictionErrorLevel := Level .Warn
9
14
ThisBuild / scalafixDependencies += Libraries .organizeImports
Original file line number Diff line number Diff line change @@ -9,5 +9,6 @@ addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.2.0")
9
9
addSbtPlugin(" com.eed3si9n" % " sbt-buildinfo" % " 0.11.0" )
10
10
addSbtPlugin(" com.codecommit" % " sbt-github-packages" % " 0.5.3" )
11
11
addSbtPlugin(" com.timushev.sbt" % " sbt-updates" % " 0.6.3" )
12
+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.9.0" )
12
13
13
14
addDependencyTreePlugin
You can’t perform that action at this time.
0 commit comments