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@v3
@@ -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@v3
@@ -167,8 +167,8 @@ jobs:
167
167
- name : Reset existing repo
168
168
shell : cmd
169
169
run : |
170
- git config --global --add safe.directory /__w/dotty/dotty
171
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
170
+ git config --global --add safe.directory /__w/scala3/scala3
171
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
172
172
173
173
- name : Git Checkout
174
174
uses : actions/checkout@v3
@@ -199,7 +199,7 @@ jobs:
199
199
200
200
test_windows_full :
201
201
runs-on : [self-hosted, Windows]
202
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
202
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
203
203
|| github.event_name == 'push'
204
204
|| (
205
205
github.event_name == 'pull_request'
@@ -211,8 +211,8 @@ jobs:
211
211
- name : Reset existing repo
212
212
shell : cmd
213
213
run : |
214
- git config --global --add safe.directory /__w/dotty/dotty
215
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
214
+ git config --global --add safe.directory /__w/scala3/scala3
215
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
216
216
217
217
- name : Git Checkout
218
218
uses : actions/checkout@v3
@@ -235,7 +235,7 @@ jobs:
235
235
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
236
236
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
237
237
- ${{ github.workspace }}/../../cache/general:/root/.cache
238
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
238
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
239
239
|| github.event_name == 'push'
240
240
|| github.event_name == 'merge_group'
241
241
|| (
@@ -245,13 +245,13 @@ jobs:
245
245
)
246
246
|| (
247
247
github.event_name == 'workflow_dispatch'
248
- && github.repository == 'lampepfl/dotty '
248
+ && github.repository == 'scala/scala3 '
249
249
)"
250
250
steps :
251
251
- name : Reset existing repo
252
252
run : |
253
- git config --global --add safe.directory /__w/dotty/dotty
254
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
253
+ git config --global --add safe.directory /__w/scala3/scala3
254
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
255
255
256
256
- name : Checkout cleanup script
257
257
uses : actions/checkout@v3
@@ -278,7 +278,7 @@ jobs:
278
278
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
279
279
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
280
280
- ${{ github.workspace }}/../../cache/general:/root/.cache
281
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
281
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
282
282
|| github.event_name == 'push'
283
283
|| github.event_name == 'merge_group'
284
284
|| (
@@ -289,14 +289,14 @@ jobs:
289
289
)
290
290
|| (
291
291
github.event_name == 'workflow_dispatch'
292
- && github.repository == 'lampepfl/dotty '
292
+ && github.repository == 'scala/scala3 '
293
293
)"
294
294
295
295
steps :
296
296
- name : Reset existing repo
297
297
run : |
298
- git config --global --add safe.directory /__w/dotty/dotty
299
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
298
+ git config --global --add safe.directory /__w/scala3/scala3
299
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
300
300
301
301
- name : Checkout cleanup script
302
302
uses : actions/checkout@v3
@@ -312,6 +312,7 @@ jobs:
312
312
313
313
- name : Test
314
314
run : |
315
+ git config --global --add safe.directory /__w/scala3/scala3
315
316
git submodule sync
316
317
git submodule update --init --recursive --jobs 7
317
318
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
@@ -329,7 +330,7 @@ jobs:
329
330
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
330
331
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
331
332
- ${{ github.workspace }}/../../cache/general:/root/.cache
332
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
333
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
333
334
|| github.event_name == 'push'
334
335
|| github.event_name == 'merge_group'
335
336
|| (
@@ -340,14 +341,14 @@ jobs:
340
341
)
341
342
|| (
342
343
github.event_name == 'workflow_dispatch'
343
- && github.repository == 'lampepfl/dotty '
344
+ && github.repository == 'scala/scala3 '
344
345
)"
345
346
346
347
steps :
347
348
- name : Reset existing repo
348
349
run : |
349
- git config --global --add safe.directory /__w/dotty/dotty
350
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
350
+ git config --global --add safe.directory /__w/scala3/scala3
351
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
351
352
352
353
- name : Checkout cleanup script
353
354
uses : actions/checkout@v3
@@ -363,6 +364,7 @@ jobs:
363
364
364
365
- name : Test
365
366
run : |
367
+ git config --global --add safe.directory /__w/scala3/scala3
366
368
git submodule sync
367
369
git submodule update --init --recursive --jobs 7
368
370
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
@@ -380,7 +382,7 @@ jobs:
380
382
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
381
383
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
382
384
- ${{ github.workspace }}/../../cache/general:/root/.cache
383
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
385
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
384
386
|| github.event_name == 'push'
385
387
|| github.event_name == 'merge_group'
386
388
|| (
@@ -391,14 +393,14 @@ jobs:
391
393
)
392
394
|| (
393
395
github.event_name == 'workflow_dispatch'
394
- && github.repository == 'lampepfl/dotty '
396
+ && github.repository == 'scala/scala3 '
395
397
)"
396
398
397
399
steps :
398
400
- name : Reset existing repo
399
401
run : |
400
- git config --global --add safe.directory /__w/dotty/dotty
401
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
402
+ git config --global --add safe.directory /__w/scala3/scala3
403
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
402
404
403
405
- name : Checkout cleanup script
404
406
uses : actions/checkout@v3
@@ -414,6 +416,7 @@ jobs:
414
416
415
417
- name : Test
416
418
run : |
419
+ git config --global --add safe.directory /__w/scala3/scala3
417
420
git submodule sync
418
421
git submodule update --init --recursive --jobs 7
419
422
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestC"
@@ -431,7 +434,7 @@ jobs:
431
434
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
432
435
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
433
436
- ${{ github.workspace }}/../../cache/general:/root/.cache
434
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
437
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
435
438
|| github.event_name == 'push'
436
439
|| (
437
440
github.event_name == 'pull_request'
@@ -440,14 +443,14 @@ jobs:
440
443
)
441
444
|| (
442
445
github.event_name == 'workflow_dispatch'
443
- && github.repository == 'lampepfl/dotty '
446
+ && github.repository == 'scala/scala3 '
444
447
)"
445
448
446
449
steps :
447
450
- name : Reset existing repo
448
451
run : |
449
- git config --global --add safe.directory /__w/dotty/dotty
450
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
452
+ git config --global --add safe.directory /__w/scala3/scala3
453
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
451
454
452
455
- name : Checkout cleanup script
453
456
uses : actions/checkout@v3
@@ -474,7 +477,7 @@ jobs:
474
477
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
475
478
- ${{ github.workspace }}/../../cache/general:/root/.cache
476
479
477
- if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty '
480
+ if : " github.event_name == 'schedule' && github.repository == 'scala/scala3 '
478
481
|| (
479
482
github.event_name == 'push'
480
483
&& startsWith(github.event.ref, 'refs/tags/')
@@ -486,7 +489,7 @@ jobs:
486
489
)
487
490
|| (
488
491
github.event_name == 'workflow_dispatch'
489
- && github.repository == 'lampepfl/dotty '
492
+ && github.repository == 'scala/scala3 '
490
493
)"
491
494
492
495
steps :
@@ -495,8 +498,8 @@ jobs:
495
498
496
499
- name : Reset existing repo
497
500
run : |
498
- git config --global --add safe.directory /__w/dotty/dotty
499
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
501
+ git config --global --add safe.directory /__w/scala3/scala3
502
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
500
503
501
504
- name : Checkout cleanup script
502
505
uses : actions/checkout@v3
@@ -530,7 +533,7 @@ jobs:
530
533
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
531
534
- ${{ github.workspace }}/../../cache/general:/root/.cache
532
535
needs : [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
533
- if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty '"
536
+ if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3 '"
534
537
env :
535
538
NIGHTLYBUILD : yes
536
539
PGP_PW : ${{ secrets.PGP_PW }} # PGP passphrase
@@ -541,8 +544,8 @@ jobs:
541
544
steps :
542
545
- name : Reset existing repo
543
546
run : |
544
- git config --global --add safe.directory /__w/dotty/dotty
545
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
547
+ git config --global --add safe.directory /__w/scala3/scala3
548
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
546
549
547
550
- name : Checkout cleanup script
548
551
uses : actions/checkout@v3
@@ -583,7 +586,7 @@ jobs:
583
586
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
584
587
- ${{ github.workspace }}/../../cache/general:/root/.cache
585
588
needs : [publish_nightly]
586
- if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty '"
589
+ if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3 '"
587
590
env :
588
591
NIGHTLYBUILD : yes
589
592
DOTTY_WEBSITE_BOT_TOKEN : ${{ secrets.BOT_TOKEN }} # If you need to change this:
@@ -597,8 +600,8 @@ jobs:
597
600
steps :
598
601
- name : Reset existing repo
599
602
run : |
600
- git config --global --add safe.directory /__w/dotty/dotty
601
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
603
+ git config --global --add safe.directory /__w/scala3/scala3
604
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
602
605
603
606
- name : Checkout cleanup script
604
607
uses : actions/checkout@v3
@@ -614,7 +617,7 @@ jobs:
614
617
615
618
- name : Generate Website
616
619
run : |
617
- git config --global --add safe.directory /__w/dotty/dotty
620
+ git config --global --add safe.directory /__w/scala3/scala3
618
621
./project/scripts/genDocs -doc-snapshot
619
622
620
623
- name : Deploy Website to dotty-website
@@ -650,8 +653,8 @@ jobs:
650
653
steps :
651
654
- name : Reset existing repo
652
655
run : |
653
- git config --global --add safe.directory /__w/dotty/dotty
654
- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty " && git reset --hard FETCH_HEAD || true
656
+ git config --global --add safe.directory /__w/scala3/scala3
657
+ git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3 " && git reset --hard FETCH_HEAD || true
655
658
656
659
- name : Checkout cleanup script
657
660
uses : actions/checkout@v3
0 commit comments