Skip to content

Commit b9728bf

Browse files
committed
update ci
1 parent 112da37 commit b9728bf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ jobs:
6969
fail_ci_if_error: true
7070

7171
- name: Make target directories
72-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || startsWith(github.ref, 'refs/tags/v'))
72+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || github.ref == 'refs/heads/v2.7' || startsWith(github.ref, 'refs/tags/v'))
7373
run: mkdir -p target project/target
7474

7575
- name: Compress target directories
76-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || startsWith(github.ref, 'refs/tags/v'))
76+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || github.ref == 'refs/heads/v2.7' || startsWith(github.ref, 'refs/tags/v'))
7777
run: tar cf targets.tar target project/target
7878

7979
- name: Upload target directories
80-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || startsWith(github.ref, 'refs/tags/v'))
80+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || github.ref == 'refs/heads/v2.7' || startsWith(github.ref, 'refs/tags/v'))
8181
uses: actions/upload-artifact@v3
8282
with:
8383
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}
@@ -86,7 +86,7 @@ jobs:
8686
publish:
8787
name: Publish Artifacts
8888
needs: [build]
89-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || startsWith(github.ref, 'refs/tags/v'))
89+
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/1.5' || github.ref == 'refs/heads/v2.7' || startsWith(github.ref, 'refs/tags/v'))
9090
strategy:
9191
matrix:
9292
os: [ubuntu-latest]

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "8"))
144144
ThisBuild / githubWorkflowPublishTargetBranches := Seq(
145145
RefPredicate.Equals(Ref.Branch("develop")),
146146
RefPredicate.Equals(Ref.Branch("1.5")),
147+
RefPredicate.Equals(Ref.Branch("v2.7")),
147148
RefPredicate.StartsWith(Ref.Tag("v"))
148149
)
149150

0 commit comments

Comments
 (0)