File tree 2 files changed +34
-2
lines changed
2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Scala CI
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ contents : read
11
+ packages : write
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ - name : Setup JDK
16
+ uses : actions/setup-java@v3
17
+ with :
18
+ distribution : temurin
19
+ java-version : 8
20
+ - name : Publish package
21
+ run : sbt publish
22
+ env :
23
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,9 +5,16 @@ val minorChiselVersion = "2"
5
5
val chiselVersion = majorChiselVersion + " ." + minorChiselVersion + " .0"
6
6
7
7
scalaVersion := " 2.13.12"
8
- version := majorChiselVersion + " ." + minorChiselVersion + " .4 "
8
+ version := majorChiselVersion + " ." + minorChiselVersion + " .6 "
9
9
organization := " org.armadeus"
10
10
11
+ credentials += Credentials (
12
+ " GitHub Package Registry" ,
13
+ " maven.pkg.github.com" ,
14
+ " _" ,
15
+ System .getenv(" GITHUB_TOKEN" )
16
+ )
17
+
11
18
lazy val root = (project in file(" ." ))
12
19
.settings(
13
20
name := " wbplumbing" ,
@@ -23,5 +30,7 @@ lazy val root = (project in file("."))
23
30
" -Ymacro-annotations" ,
24
31
),
25
32
addCompilerPlugin(" org.chipsalliance" % " chisel-plugin" % chiselVersion cross CrossVersion .full),
26
-
27
33
)
34
+
35
+ publishTo := Some (" GitHub Martoni Apache Maven Packages" at " https://maven.pkg.github.com/Martoni/WbPlumbing" )
36
+ publishMavenStyle := true
You can’t perform that action at this time.
0 commit comments