-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
29 lines (27 loc) · 1.15 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ThisBuild / githubWorkflowTargetBranches := Seq("master")
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
ThisBuild / githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v")))
ThisBuild / githubWorkflowPublish := Seq(
WorkflowStep.Sbt(
List("ci-release"),
env = Map(
"PGP_PASSPHRASE" -> "${{ secrets.PGP_PASSPHRASE }}",
"PGP_SECRET" -> "${{ secrets.PGP_SECRET }}",
"SONATYPE_PASSWORD" -> "${{ secrets.SONATYPE_PASSWORD }}",
"SONATYPE_USERNAME" -> "${{ secrets.SONATYPE_USERNAME }}"
)
)
)
lazy val root = project
.in(file("."))
.enablePlugins(SbtPlugin)
.settings(
name := "sbt-integration-env",
organization := "io.github.irevive",
crossSbtVersions := Seq("1.10.2"),
scriptedBufferLog := false,
scriptedLaunchOpts ++= Seq("-Xmx1024M", "-Dplugin.version=" + version.value),
homepage := Some(url("https://github.com/iRevive/sbt-integration-env")),
licenses := List(License.MIT),
developers := List(Developer("iRevive", "Maksym Ochenashko", "", url("https://github.com/iRevive")))
)