Skip to content

Commit

Permalink
add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-git committed Jul 18, 2024
1 parent 90a1147 commit a7fb8a2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Publish new Release

on:
release:
types: [published]
branches: [master]

jobs:
release:
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v1
secrets: inherit
10 changes: 8 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ def crossSettings[T](scalaVersion: String, if3: List[T], if2: List[T]) =

lazy val commonSettings = Seq(
organization := "com.evolutiongaming",
homepage := Some(new URL("http://github.com/evolution-gaming/scassandra")),
homepage := Some(url("http://github.com/evolution-gaming/scassandra")),
startYear := Some(2018),
organizationName := "Evolution",
organizationHomepage := Some(url("http://evolution.com")),
organizationHomepage := Some(url("https://evolution.com")),
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq("2.13.13", "3.3.3", "2.12.19"),
Compile / doc / scalacOptions ++= Seq("-groups", "-implicits", "-no-link-warnings"),
Expand All @@ -26,9 +26,15 @@ lazy val commonSettings = Seq(
if2 = List("-Xsource:3"),
))

val alias: Seq[sbt.Def.Setting[?]] =
// addCommandAlias("check", "all versionPolicyCheck Compile/doc") ++
addCommandAlias("check", "show version") ++
addCommandAlias("build", "+all compile test")

lazy val root = (project in file("."))
.settings(name := "scassandra")
.settings(commonSettings)
.settings(alias)
.settings(
publish / skip := true,
skip / publishArtifact := true
Expand Down

0 comments on commit a7fb8a2

Please sign in to comment.