Commit a9f1fa6
committed
Disallow experimental CB projects on release builds
Previous mechanism for this inferred experimental capabilities
from the version of the compiler (SNAPSHOT or NIGHTLY permits
experimental). However this doesn't work in practice:
the version of the compiler is set by CI to a stable version only
when publish task is executed (not when test tasks are executed).
If we set the version as stable for community build as well,
the community projects will not be able to resolve it as they operate
against the locally published snapshot and not the official stable
release version.
Hence this solution adds another env var specifically to track
experimental features allowance.1 parent cf27211 commit a9f1fa6
File tree
2 files changed
+19
-1
lines changed- .github/workflows
- community-build/src/scala/dotty/communitybuild
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
222 | 228 | | |
223 | 229 | | |
224 | 230 | | |
| |||
262 | 268 | | |
263 | 269 | | |
264 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
265 | 277 | | |
266 | 278 | | |
267 | 279 | | |
| |||
305 | 317 | | |
306 | 318 | | |
307 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
308 | 326 | | |
309 | 327 | | |
310 | 328 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments