53
53
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
54
54
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
55
55
- ${{ github.workspace }}/../../cache/general:/root/.cache
56
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
56
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
57
57
|| github.event_name == 'push'
58
58
|| (
59
59
github.event_name == 'pull_request'
@@ -62,17 +62,17 @@ jobs:
62
62
)
63
63
|| (
64
64
github.event_name == 'workflow_dispatch'
65
- && github.repository == 'lampepfl/dotty '
65
+ && github.repository == 'scala/scala3 '
66
66
)"
67
67
steps :
68
68
- name : Set JDK 16 as default
69
69
run : echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
70
70
71
- # # Workaround for https://github.com/actions/runner/issues/2033 (See https://github.com/lampepfl/dotty /pull/19720)
71
+ # # Workaround for https://github.com/actions/runner/issues/2033 (See https://github.com/scala/scala3 /pull/19720)
72
72
- name : Reset existing repo
73
73
run : |
74
- git config --global --add safe.directory /__w/dotty/dotty
75
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
74
+ git config --global --add safe.directory /__w/scala3/scala3
75
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
76
76
77
77
- name : Checkout cleanup script
78
78
uses : actions/checkout@v4
@@ -105,7 +105,7 @@ jobs:
105
105
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
106
106
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
107
107
- ${{ github.workspace }}/../../cache/general:/root/.cache
108
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
108
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
109
109
|| github.event_name == 'push'
110
110
|| github.event_name == 'merge_group'
111
111
|| (
@@ -115,7 +115,7 @@ jobs:
115
115
)
116
116
|| (
117
117
github.event_name == 'workflow_dispatch'
118
- && github.repository == 'lampepfl/dotty '
118
+ && github.repository == 'scala/scala3 '
119
119
)"
120
120
121
121
steps :
@@ -124,8 +124,8 @@ jobs:
124
124
125
125
- name : Reset existing repo
126
126
run : |
127
- git config --global --add safe.directory /__w/dotty/dotty
128
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
127
+ git config --global --add safe.directory /__w/scala3/scala3
128
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
129
129
130
130
- name : Checkout cleanup script
131
131
uses : actions/checkout@v4
@@ -164,14 +164,14 @@ jobs:
164
164
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
165
165
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
166
166
- ${{ github.workspace }}/../../cache/general:/root/.cache
167
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
167
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
168
168
|| (
169
169
github.event_name == 'pull_request'
170
170
&& contains(github.event.pull_request.body, '[test_scala2_library_tasty]')
171
171
)
172
172
|| (
173
173
github.event_name == 'workflow_dispatch'
174
- && github.repository == 'lampepfl/dotty '
174
+ && github.repository == 'scala/scala3 '
175
175
)"
176
176
177
177
steps :
@@ -180,8 +180,8 @@ jobs:
180
180
181
181
- name : Reset existing repo
182
182
run : |
183
- git config --global --add safe.directory /__w/dotty/dotty
184
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
183
+ git config --global --add safe.directory /__w/scala3/scala3
184
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
185
185
186
186
- name : Checkout cleanup script
187
187
uses : actions/checkout@v4
@@ -220,8 +220,8 @@ jobs:
220
220
- name : Reset existing repo
221
221
shell : cmd
222
222
run : |
223
- git config --global --add safe.directory /__w/dotty/dotty
224
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
223
+ git config --global --add safe.directory /__w/scala3/scala3
224
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
225
225
226
226
- name : Git Checkout
227
227
uses : actions/checkout@v4
@@ -252,7 +252,7 @@ jobs:
252
252
253
253
test_windows_full :
254
254
runs-on : [self-hosted, Windows]
255
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
255
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
256
256
|| github.event_name == 'push'
257
257
|| (
258
258
github.event_name == 'pull_request'
@@ -264,8 +264,8 @@ jobs:
264
264
- name : Reset existing repo
265
265
shell : cmd
266
266
run : |
267
- git config --global --add safe.directory /__w/dotty/dotty
268
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
267
+ git config --global --add safe.directory /__w/scala3/scala3
268
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
269
269
270
270
- name : Git Checkout
271
271
uses : actions/checkout@v4
@@ -288,7 +288,7 @@ jobs:
288
288
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
289
289
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
290
290
- ${{ github.workspace }}/../../cache/general:/root/.cache
291
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
291
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
292
292
|| github.event_name == 'push'
293
293
|| github.event_name == 'merge_group'
294
294
|| (
@@ -298,13 +298,13 @@ jobs:
298
298
)
299
299
|| (
300
300
github.event_name == 'workflow_dispatch'
301
- && github.repository == 'lampepfl/dotty '
301
+ && github.repository == 'scala/scala3 '
302
302
)"
303
303
steps :
304
304
- name : Reset existing repo
305
305
run : |
306
- git config --global --add safe.directory /__w/dotty/dotty
307
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
306
+ git config --global --add safe.directory /__w/scala3/scala3
307
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
308
308
309
309
- name : Checkout cleanup script
310
310
uses : actions/checkout@v4
@@ -336,7 +336,7 @@ jobs:
336
336
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
337
337
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
338
338
- ${{ github.workspace }}/../../cache/general:/root/.cache
339
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
339
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
340
340
|| github.event_name == 'push'
341
341
|| github.event_name == 'merge_group'
342
342
|| (
@@ -347,14 +347,14 @@ jobs:
347
347
)
348
348
|| (
349
349
github.event_name == 'workflow_dispatch'
350
- && github.repository == 'lampepfl/dotty '
350
+ && github.repository == 'scala/scala3 '
351
351
)"
352
352
353
353
steps :
354
354
- name : Reset existing repo
355
355
run : |
356
- git config --global --add safe.directory /__w/dotty/dotty
357
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
356
+ git config --global --add safe.directory /__w/scala3/scala3
357
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
358
358
359
359
- name : Checkout cleanup script
360
360
uses : actions/checkout@v4
@@ -370,6 +370,7 @@ jobs:
370
370
371
371
- name : Test
372
372
run : |
373
+ git config --global --add safe.directory /__w/scala3/scala3
373
374
git submodule sync
374
375
git submodule update --init --recursive --jobs 7
375
376
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
@@ -387,7 +388,7 @@ jobs:
387
388
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
388
389
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
389
390
- ${{ github.workspace }}/../../cache/general:/root/.cache
390
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
391
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
391
392
|| github.event_name == 'push'
392
393
|| github.event_name == 'merge_group'
393
394
|| (
@@ -398,14 +399,14 @@ jobs:
398
399
)
399
400
|| (
400
401
github.event_name == 'workflow_dispatch'
401
- && github.repository == 'lampepfl/dotty '
402
+ && github.repository == 'scala/scala3 '
402
403
)"
403
404
404
405
steps :
405
406
- name : Reset existing repo
406
407
run : |
407
- git config --global --add safe.directory /__w/dotty/dotty
408
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
408
+ git config --global --add safe.directory /__w/scala3/scala3
409
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
409
410
410
411
- name : Checkout cleanup script
411
412
uses : actions/checkout@v4
@@ -421,6 +422,7 @@ jobs:
421
422
422
423
- name : Test
423
424
run : |
425
+ git config --global --add safe.directory /__w/scala3/scala3
424
426
git submodule sync
425
427
git submodule update --init --recursive --jobs 7
426
428
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
@@ -438,7 +440,7 @@ jobs:
438
440
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
439
441
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
440
442
- ${{ github.workspace }}/../../cache/general:/root/.cache
441
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
443
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
442
444
|| github.event_name == 'push'
443
445
|| github.event_name == 'merge_group'
444
446
|| (
@@ -449,14 +451,14 @@ jobs:
449
451
)
450
452
|| (
451
453
github.event_name == 'workflow_dispatch'
452
- && github.repository == 'lampepfl/dotty '
454
+ && github.repository == 'scala/scala3 '
453
455
)"
454
456
455
457
steps :
456
458
- name : Reset existing repo
457
459
run : |
458
- git config --global --add safe.directory /__w/dotty/dotty
459
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
460
+ git config --global --add safe.directory /__w/scala3/scala3
461
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
460
462
461
463
- name : Checkout cleanup script
462
464
uses : actions/checkout@v4
@@ -472,6 +474,7 @@ jobs:
472
474
473
475
- name : Test
474
476
run : |
477
+ git config --global --add safe.directory /__w/scala3/scala3
475
478
git submodule sync
476
479
git submodule update --init --recursive --jobs 7
477
480
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestC"
@@ -489,7 +492,7 @@ jobs:
489
492
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
490
493
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
491
494
- ${{ github.workspace }}/../../cache/general:/root/.cache
492
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
495
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
493
496
|| github.event_name == 'push'
494
497
|| (
495
498
github.event_name == 'pull_request'
@@ -498,14 +501,14 @@ jobs:
498
501
)
499
502
|| (
500
503
github.event_name == 'workflow_dispatch'
501
- && github.repository == 'lampepfl/dotty '
504
+ && github.repository == 'scala/scala3 '
502
505
)"
503
506
504
507
steps :
505
508
- name : Reset existing repo
506
509
run : |
507
- git config --global --add safe.directory /__w/dotty/dotty
508
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
510
+ git config --global --add safe.directory /__w/scala3/scala3
511
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
509
512
510
513
- name : Checkout cleanup script
511
514
uses : actions/checkout@v4
@@ -532,7 +535,7 @@ jobs:
532
535
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
533
536
- ${{ github.workspace }}/../../cache/general:/root/.cache
534
537
535
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
538
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
536
539
|| (
537
540
github.event_name == 'push'
538
541
&& startsWith(github.event.ref, 'refs/tags/')
@@ -544,7 +547,7 @@ jobs:
544
547
)
545
548
|| (
546
549
github.event_name == 'workflow_dispatch'
547
- && github.repository == 'lampepfl/dotty '
550
+ && github.repository == 'scala/scala3 '
548
551
)"
549
552
550
553
steps :
@@ -553,8 +556,8 @@ jobs:
553
556
554
557
- name : Reset existing repo
555
558
run : |
556
- git config --global --add safe.directory /__w/dotty/dotty
557
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
559
+ git config --global --add safe.directory /__w/scala3/scala3
560
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
558
561
559
562
- name : Checkout cleanup script
560
563
uses : actions/checkout@v4
@@ -588,7 +591,7 @@ jobs:
588
591
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
589
592
- ${{ github.workspace }}/../../cache/general:/root/.cache
590
593
needs : [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
591
- if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty '"
594
+ if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3 '"
592
595
env :
593
596
NIGHTLYBUILD : yes
594
597
PGP_PW : ${{ secrets.PGP_PW }} # PGP passphrase
@@ -599,8 +602,8 @@ jobs:
599
602
steps :
600
603
- name : Reset existing repo
601
604
run : |
602
- git config --global --add safe.directory /__w/dotty/dotty
603
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
605
+ git config --global --add safe.directory /__w/scala3/scala3
606
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
604
607
605
608
- name : Checkout cleanup script
606
609
uses : actions/checkout@v4
@@ -641,7 +644,7 @@ jobs:
641
644
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
642
645
- ${{ github.workspace }}/../../cache/general:/root/.cache
643
646
needs : [publish_nightly]
644
- if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty '"
647
+ if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3 '"
645
648
env :
646
649
NIGHTLYBUILD : yes
647
650
DOTTY_WEBSITE_BOT_TOKEN : ${{ secrets.BOT_TOKEN }} # If you need to change this:
@@ -655,8 +658,8 @@ jobs:
655
658
steps :
656
659
- name : Reset existing repo
657
660
run : |
658
- git config --global --add safe.directory /__w/dotty/dotty
659
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
661
+ git config --global --add safe.directory /__w/scala3/scala3
662
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
660
663
661
664
- name : Checkout cleanup script
662
665
uses : actions/checkout@v4
@@ -672,7 +675,7 @@ jobs:
672
675
673
676
- name : Generate Website
674
677
run : |
675
- git config --global --add safe.directory /__w/dotty/dotty
678
+ git config --global --add safe.directory /__w/scala3/scala3
676
679
./project/scripts/genDocs -doc-snapshot
677
680
678
681
- name : Deploy Website to dotty-website
@@ -708,8 +711,8 @@ jobs:
708
711
steps :
709
712
- name : Reset existing repo
710
713
run : |
711
- git config --global --add safe.directory /__w/dotty/dotty
712
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
714
+ git config --global --add safe.directory /__w/scala3/scala3
715
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
713
716
714
717
- name : Checkout cleanup script
715
718
uses : actions/checkout@v4
0 commit comments