13
13
test :
14
14
runs-on : [self-hosted, Linux]
15
15
container : lampepfl/dotty:2020-04-24
16
+ if : " !(github.event_name == 'push' &&
17
+ startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
16
18
17
19
steps :
18
20
- name : Set JDK 11 as default
56
58
test_bootstrapped :
57
59
runs-on : [self-hosted, Linux]
58
60
container : lampepfl/dotty:2020-04-24
61
+ if : " !(github.event_name == 'push' &&
62
+ startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
59
63
60
64
steps :
61
65
- name : Set JDK 11 as default
@@ -101,6 +105,8 @@ jobs:
101
105
# # the non-bootstrapped Linux runner.
102
106
# test-windows:
103
107
# runs-on: [self-hosted, Windows]
108
+ # if: "!(github.event_name == 'push' &&
109
+ # startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
104
110
105
111
# steps:
106
112
# - name: Git Checkout
@@ -112,6 +118,8 @@ jobs:
112
118
113
119
test_bootstrapped-windows :
114
120
runs-on : [self-hosted, Windows]
121
+ if : " !(github.event_name == 'push' &&
122
+ startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
115
123
116
124
steps :
117
125
- name : Git Checkout
@@ -212,11 +220,12 @@ jobs:
212
220
test_java8 :
213
221
runs-on : [self-hosted, Linux]
214
222
container : lampepfl/dotty:2020-04-24
215
- if : (
223
+ if : " (
216
224
github.event_name == 'push' &&
217
- startsWith(github.event.ref, 'refs/tags/')
218
- ) ||
219
- github.event_name == 'schedule'
225
+ startsWith(github.event.ref, 'refs/tags/') &&
226
+ !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
227
+ ) ||
228
+ github.event_name == 'schedule'"
220
229
221
230
steps :
222
231
- name : Set JDK 8 as default
@@ -511,7 +520,7 @@ jobs:
511
520
publish_sbt_release :
512
521
runs-on : [self-hosted, Linux]
513
522
container : lampepfl/dotty:2020-04-24
514
- needs : [test, test_bootstrapped, community_build, test_sbt, test_java8 ]
523
+ needs : [community_build, test_sbt]
515
524
if : github.event_name == 'push' &&
516
525
startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
517
526
0 commit comments