Skip to content

Commit

Permalink
switch to release workflow v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-git committed Oct 29, 2024
1 parent 080fb89 commit d0822e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Publish new Release
name: Publish Release

on:
release:
types: [published]
branches: [master]
push:
tags:
- 'v*'

jobs:
release:
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v1
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v2
secrets: inherit
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ lazy val commonSettings = Seq(
},
Compile / doc / scalacOptions ++= Seq("-groups", "-implicits", "-no-link-warnings"),
publishTo := Some(Resolver.evolutionReleases),
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
releaseCrossBuild := true)
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))))

val alias: Seq[sbt.Def.Setting[?]] =
addCommandAlias("check", "+all versionPolicyCheck Compile/doc") ++
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.2")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.14")

addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")

addSbtPlugin("com.evolution" % "sbt-scalac-opts-plugin" % "0.0.9")

Expand Down
1 change: 0 additions & 1 deletion version.sbt

This file was deleted.

0 comments on commit d0822e7

Please sign in to comment.