Skip to content

Commit 4216364

Browse files
committed
publish v2.15 snapshots
1 parent 48d0d06 commit 4216364

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ jobs:
8383
- run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' test mimaReportBinaryIssues
8484

8585
- name: Make target directories
86-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.14' || github.ref == 'refs/heads/2.13' || startsWith(github.ref, 'refs/tags/v'))
86+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.15' || github.ref == 'refs/heads/2.14' || startsWith(github.ref, 'refs/tags/v'))
8787
run: mkdir -p target project/target
8888

8989
- name: Compress target directories
90-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.14' || github.ref == 'refs/heads/2.13' || startsWith(github.ref, 'refs/tags/v'))
90+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.15' || github.ref == 'refs/heads/2.14' || startsWith(github.ref, 'refs/tags/v'))
9191
run: tar cf targets.tar target project/target
9292

9393
- name: Upload target directories
94-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.14' || github.ref == 'refs/heads/2.13' || startsWith(github.ref, 'refs/tags/v'))
94+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.15' || github.ref == 'refs/heads/2.14' || startsWith(github.ref, 'refs/tags/v'))
9595
uses: actions/upload-artifact@v3
9696
with:
9797
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}
@@ -100,7 +100,7 @@ jobs:
100100
publish:
101101
name: Publish Artifacts
102102
needs: [build]
103-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.14' || github.ref == 'refs/heads/2.13' || startsWith(github.ref, 'refs/tags/v'))
103+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/2.15' || github.ref == 'refs/heads/2.14' || startsWith(github.ref, 'refs/tags/v'))
104104
strategy:
105105
matrix:
106106
os: [ubuntu-latest]

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "8"), JavaSpec(Zulu
131131
ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "mimaReportBinaryIssues")))
132132
ThisBuild / githubWorkflowPublishTargetBranches := Seq(
133133
RefPredicate.Equals(Ref.Branch("master")),
134+
RefPredicate.Equals(Ref.Branch("2.15")),
134135
RefPredicate.Equals(Ref.Branch("2.14")),
135-
RefPredicate.Equals(Ref.Branch("2.13")),
136136
RefPredicate.StartsWith(Ref.Tag("v"))
137137
)
138138

0 commit comments

Comments
 (0)