Skip to content

Commit 1afa887

Browse files
committed
rename branch to 3.x
1 parent ff96f27 commit 1afa887

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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: [master]
12+
branches: [3.x]
1313
push:
14-
branches: [master]
14+
branches: [3.x]
1515
tags: [v*]
1616

1717
env:
@@ -69,7 +69,7 @@ jobs:
6969
publish:
7070
name: Publish Artifacts
7171
needs: [build]
72-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master')
72+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/3.x')
7373
strategy:
7474
matrix:
7575
os: [ubuntu-latest]

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ThisBuild / crossScalaVersions := Seq("2.12.20", scala213Version, "3.3.5")
1616
sonatypeCredentialHost := "s01.oss.sonatype.org"
1717
sonatypeRepository := "s01.oss.sonatype.org"
1818

19-
// resolvers ++= Resolver.sonatypeOssRepos("snapshots")
19+
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
2020

2121
bomFormat := "xml"
2222

@@ -117,12 +117,12 @@ Test / parallelExecution := false
117117

118118
ThisBuild / githubWorkflowSbtCommand := "sbt -J-Xmx2G"
119119
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "17"), JavaSpec(Zulu, "21"))
120-
ThisBuild / githubWorkflowTargetBranches := Seq("master")
120+
ThisBuild / githubWorkflowTargetBranches := Seq("3.x")
121121
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
122122
ThisBuild / githubWorkflowPublishTargetBranches :=
123123
Seq(
124124
RefPredicate.StartsWith(Ref.Tag("v")),
125-
RefPredicate.Equals(Ref.Branch("master"))
125+
RefPredicate.Equals(Ref.Branch("3.x"))
126126
)
127127

128128
ThisBuild / githubWorkflowPublish := Seq(

0 commit comments

Comments
 (0)