Skip to content

Commit ad1bf78

Browse files
committed
switch to release workflow v2
1 parent da3011a commit ad1bf78

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Publish new Release
1+
name: Publish Release
22

33
on:
4-
release:
5-
types: [published]
6-
branches: [main]
4+
push:
5+
tags:
6+
- 'v*'
77

88
jobs:
99
release:
10-
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v1
10+
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v2
1111
secrets: inherit

build.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ startYear := Some(2023)
1010

1111
crossScalaVersions := Seq("2.13.15", "3.3.4")
1212
scalaVersion := crossScalaVersions.value.head
13-
releaseCrossBuild := true
1413
scalacOptions := Seq(
1514
"-release:17",
1615
"-Xsource:3",

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.2")
22

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

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

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

version.sbt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)