|
43 | 43 | github.event_name == 'pull_request' |
44 | 44 | && !contains(github.event.pull_request.body, '[skip ci]') |
45 | 45 | && contains(github.event.pull_request.body, '[test_non_bootstrapped]') |
| 46 | + ) |
| 47 | + || ( |
| 48 | + github.event_name == 'workflow_dispatch' |
| 49 | + && github.repository == 'lampepfl/dotty' |
46 | 50 | )" |
47 | 51 | steps: |
48 | 52 | - name: Set JDK 15 as default |
|
83 | 87 | github.event_name == 'pull_request' |
84 | 88 | && !contains(github.event.pull_request.body, '[skip ci]') |
85 | 89 | && !contains(github.event.pull_request.body, '[skip test]') |
| 90 | + ) |
| 91 | + || ( |
| 92 | + github.event_name == 'workflow_dispatch' |
| 93 | + && github.repository == 'lampepfl/dotty' |
86 | 94 | )" |
87 | 95 |
|
88 | 96 | steps: |
@@ -175,6 +183,10 @@ jobs: |
175 | 183 | github.event_name == 'pull_request' |
176 | 184 | && !contains(github.event.pull_request.body, '[skip ci]') |
177 | 185 | && !contains(github.event.pull_request.body, '[skip community_build]') |
| 186 | + ) |
| 187 | + || ( |
| 188 | + github.event_name == 'workflow_dispatch' |
| 189 | + && github.repository == 'lampepfl/dotty' |
178 | 190 | )" |
179 | 191 |
|
180 | 192 | steps: |
@@ -211,6 +223,10 @@ jobs: |
211 | 223 | github.event_name == 'pull_request' |
212 | 224 | && !contains(github.event.pull_request.body, '[skip ci]') |
213 | 225 | && !contains(github.event.pull_request.body, '[skip community_build]') |
| 226 | + ) |
| 227 | + || ( |
| 228 | + github.event_name == 'workflow_dispatch' |
| 229 | + && github.repository == 'lampepfl/dotty' |
214 | 230 | )" |
215 | 231 |
|
216 | 232 | steps: |
@@ -247,6 +263,10 @@ jobs: |
247 | 263 | github.event_name == 'pull_request' |
248 | 264 | && !contains(github.event.pull_request.body, '[skip ci]') |
249 | 265 | && !contains(github.event.pull_request.body, '[skip test_sbt]') |
| 266 | + ) |
| 267 | + || ( |
| 268 | + github.event_name == 'workflow_dispatch' |
| 269 | + && github.repository == 'lampepfl/dotty' |
250 | 270 | )" |
251 | 271 |
|
252 | 272 | steps: |
@@ -285,6 +305,10 @@ jobs: |
285 | 305 | github.event_name == 'pull_request' |
286 | 306 | && !contains(github.event.pull_request.body, '[skip ci]') |
287 | 307 | && contains(github.event.pull_request.body, '[test_java8]') |
| 308 | + ) |
| 309 | + || ( |
| 310 | + github.event_name == 'workflow_dispatch' |
| 311 | + && github.repository == 'lampepfl/dotty' |
288 | 312 | )" |
289 | 313 |
|
290 | 314 | steps: |
@@ -353,7 +377,7 @@ jobs: |
353 | 377 | - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache |
354 | 378 | - ${{ github.workspace }}/../../cache/general:/root/.cache |
355 | 379 | needs: [publish_nightly] |
356 | | - if: "github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'" |
| 380 | + if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty'" |
357 | 381 | env: |
358 | 382 | NIGHTLYBUILD: yes |
359 | 383 | BOT_TOKEN: ${{ secrets.BOT_TOKEN }} # If you need to change this: |
|
0 commit comments