File tree Expand file tree Collapse file tree 4 files changed +51
-36
lines changed Expand file tree Collapse file tree 4 files changed +51
-36
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - name : Setup JDK
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ distribution : temurin
22
+ java-version : 17
23
+ cache : sbt
24
+
25
+ - name : Setup SBT
26
+ uses : sbt/setup-sbt@v1
27
+
28
+ - name : Run ci-release
29
+ run : sbt ci-release
30
+ env :
31
+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
32
+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
33
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
34
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Original file line number Diff line number Diff line change
1
+ inThisBuild(List (
2
+ organization := " com.donderom" ,
3
+ homepage := Some (url(" https://github.com/donderom/llm4s" )),
4
+ description := " Scala 3 bindings for llama.cpp" ,
5
+ licenses := List (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )),
6
+ developers := List (
7
+ Developer (
8
+ id = " donderom" ,
9
+ name = " Roman Parykin" ,
10
+
11
+ url = url(" https://donderom.com" )
12
+ )
13
+ ),
14
+ ))
15
+
1
16
val scala3Version = " 3.3.0"
2
17
3
18
ThisBuild / scalaVersion := scala3Version
4
- ThisBuild / organization := " com.donderom"
5
- ThisBuild / version := " 0.12.0-b4599"
6
- ThisBuild / versionScheme := Some (" early-semver" )
7
19
8
20
lazy val root = project
9
21
.in(file(" ." ))
Original file line number Diff line number Diff line change 1
1
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.4" )
2
2
3
3
addSbtPlugin(" ch.epfl.scala" % " sbt-scalafix" % " 0.14.0" )
4
+
5
+ addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.11.1" )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments