File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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 }}
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]
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Zulu, "8"))
144144ThisBuild / 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
You can’t perform that action at this time.
0 commit comments