Skip to content

Commit e57c55e

Browse files
committed
CI build for PRs
1 parent f5e9c9b commit e57c55e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ name: Continuous Integration
99

1010
on:
1111
pull_request:
12-
branches: [3.x]
12+
branches: [3.x, 3.0]
1313
push:
14-
branches: [3.x]
14+
branches: [3.x, 3.0]
1515
tags: [v*]
1616

1717
env:
@@ -77,7 +77,7 @@ jobs:
7777
publish:
7878
name: Publish Artifacts
7979
needs: [build]
80-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/3.x')
80+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/3.'))
8181
strategy:
8282
matrix:
8383
os: [ubuntu-latest]

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ Test / parallelExecution := false
122122

123123
ThisBuild / githubWorkflowSbtCommand := "sbt -J-Xmx2G"
124124
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "17"), JavaSpec(Zulu, "21"), JavaSpec(Zulu, "25"))
125-
ThisBuild / githubWorkflowTargetBranches := Seq("3.x")
125+
ThisBuild / githubWorkflowTargetBranches := Seq("3.x", "3.0")
126126
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
127127
ThisBuild / githubWorkflowPublishTargetBranches :=
128128
Seq(
129129
RefPredicate.StartsWith(Ref.Tag("v")),
130-
RefPredicate.Equals(Ref.Branch("3.x"))
130+
RefPredicate.StartsWith(Ref.Branch("3."))
131131
)
132132

133133
ThisBuild / githubWorkflowPublish := Seq(

0 commit comments

Comments
 (0)