File tree Expand file tree Collapse file tree 8 files changed +98
-0
lines changed
Expand file tree Collapse file tree 8 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ tags : ["*"]
5+ workflow_dispatch :
6+ jobs :
7+ release :
8+ concurrency : release
9+ runs-on : ubuntu-22.04
10+ steps :
11+ - uses : actions/checkout@v2
12+ with :
13+ fetch-depth : 0
14+ - name : Set up JDK
15+ uses : actions/setup-java@v3
16+ with :
17+ distribution : ' temurin'
18+ java-version : 19
19+ - uses : actions/cache@v2
20+ with :
21+ path : |
22+ ~/.sbt
23+ ~/.coursier
24+ key : ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
25+ - run : sbt +test ciReleaseTagNextVersion ++3.4.1 publish
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -7,3 +7,15 @@ libraryDependencies ++= Seq(
77)
88
99Test / testOptions += Tests .Argument (TestFrameworks .JUnit , " -a" , " -v" )
10+
11+
12+ githubOwner := " Privado-Inc"
13+ githubRepository := " overflowdb"
14+
15+ credentials +=
16+ Credentials (
17+ " GitHub Package Registry" ,
18+ " maven.pkg.github.com" ,
19+ " Privado-Inc" ,
20+ sys.env.getOrElse(" GITHUB_TOKEN" , " N/A" )
21+ )
Original file line number Diff line number Diff line change @@ -6,3 +6,14 @@ libraryDependencies ++= Seq(
66 " com.h2database" % " h2-mvstore" % " 1.4.200" ,
77 " org.slf4j" % " slf4j-api" % " 2.0.7"
88)
9+
10+ githubOwner := " Privado-Inc"
11+ githubRepository := " overflowdb"
12+
13+ credentials +=
14+ Credentials (
15+ " GitHub Package Registry" ,
16+ " maven.pkg.github.com" ,
17+ " Privado-Inc" ,
18+ sys.env.getOrElse(" GITHUB_TOKEN" , " N/A" )
19+ )
Original file line number Diff line number Diff line change @@ -9,3 +9,15 @@ libraryDependencies ++= Seq(
99)
1010
1111Test / console / scalacOptions -= " -Xlint"
12+
13+
14+ githubOwner := " Privado-Inc"
15+ githubRepository := " overflowdb"
16+
17+ credentials +=
18+ Credentials (
19+ " GitHub Package Registry" ,
20+ " maven.pkg.github.com" ,
21+ " Privado-Inc" ,
22+ sys.env.getOrElse(" GITHUB_TOKEN" , " N/A" )
23+ )
Original file line number Diff line number Diff line change 11addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.0" )
22addSbtPlugin(" io.shiftleft" % " sbt-ci-release-early" % " 2.0.19" )
33addSbtPlugin(" com.github.sbt" % " sbt-dynver" % " 5.0.1" )
4+ addSbtPlugin(" com.codecommit" % " sbt-github-packages" % " 0.5.3" )
Original file line number Diff line number Diff line change 11name := " testdomains"
22
33publish / skip := true
4+
5+
6+ githubOwner := " Privado-Inc"
7+ githubRepository := " overflowdb"
8+
9+ credentials +=
10+ Credentials (
11+ " GitHub Package Registry" ,
12+ " maven.pkg.github.com" ,
13+ " Privado-Inc" ,
14+ sys.env.getOrElse(" GITHUB_TOKEN" , " N/A" )
15+ )
Original file line number Diff line number Diff line change @@ -3,3 +3,15 @@ name := "overflowdb-traversal-tests"
33publish / skip := true
44
55Test / console / scalacOptions -= " -Xlint"
6+
7+
8+ githubOwner := " Privado-Inc"
9+ githubRepository := " overflowdb"
10+
11+ credentials +=
12+ Credentials (
13+ " GitHub Package Registry" ,
14+ " maven.pkg.github.com" ,
15+ " Privado-Inc" ,
16+ sys.env.getOrElse(" GITHUB_TOKEN" , " N/A" )
17+ )
Original file line number Diff line number Diff line change @@ -4,3 +4,14 @@ libraryDependencies ++= Seq(
44 " net.oneandone.reflections8" % " reflections8" % " 0.11.7" ,
55 " de.vandermeer" % " asciitable" % " 0.3.2" ,
66)
7+
8+ githubOwner := " Privado-Inc"
9+ githubRepository := " overflowdb"
10+
11+ credentials +=
12+ Credentials (
13+ " GitHub Package Registry" ,
14+ " maven.pkg.github.com" ,
15+ " Privado-Inc" ,
16+ sys.env.getOrElse(" GITHUB_TOKEN" , " N/A" )
17+ )
You can’t perform that action at this time.
0 commit comments