|
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 | 72 | - name: Reset existing repo
|
72 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 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 |
73 | 76 |
|
74 | 77 | - name: Checkout cleanup script
|
75 | 78 | uses: actions/checkout@v4
|
@@ -120,7 +123,9 @@ jobs:
|
120 | 123 | run: echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
|
121 | 124 |
|
122 | 125 | - name: Reset existing repo
|
123 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 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 |
124 | 129 |
|
125 | 130 | - name: Checkout cleanup script
|
126 | 131 | uses: actions/checkout@v4
|
@@ -174,7 +179,9 @@ jobs:
|
174 | 179 | run: echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
|
175 | 180 |
|
176 | 181 | - name: Reset existing repo
|
177 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 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 |
178 | 185 |
|
179 | 186 | - name: Checkout cleanup script
|
180 | 187 | uses: actions/checkout@v4
|
@@ -211,8 +218,10 @@ jobs:
|
211 | 218 |
|
212 | 219 | steps:
|
213 | 220 | - name: Reset existing repo
|
214 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
215 | 221 | shell: cmd
|
| 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 |
216 | 225 |
|
217 | 226 | - name: Git Checkout
|
218 | 227 | uses: actions/checkout@v4
|
@@ -253,8 +262,10 @@ jobs:
|
253 | 262 |
|
254 | 263 | steps:
|
255 | 264 | - name: Reset existing repo
|
256 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
257 | 265 | shell: cmd
|
| 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 |
258 | 269 |
|
259 | 270 | - name: Git Checkout
|
260 | 271 | uses: actions/checkout@v4
|
@@ -291,7 +302,9 @@ jobs:
|
291 | 302 | )"
|
292 | 303 | steps:
|
293 | 304 | - name: Reset existing repo
|
294 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 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 |
295 | 308 |
|
296 | 309 | - name: Checkout cleanup script
|
297 | 310 | uses: actions/checkout@v4
|
@@ -339,7 +352,9 @@ jobs:
|
339 | 352 |
|
340 | 353 | steps:
|
341 | 354 | - name: Reset existing repo
|
342 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 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 |
343 | 358 |
|
344 | 359 | - name: Checkout cleanup script
|
345 | 360 | uses: actions/checkout@v4
|
@@ -388,7 +403,9 @@ jobs:
|
388 | 403 |
|
389 | 404 | steps:
|
390 | 405 | - name: Reset existing repo
|
391 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 406 | + 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 |
392 | 409 |
|
393 | 410 | - name: Checkout cleanup script
|
394 | 411 | uses: actions/checkout@v4
|
@@ -437,7 +454,9 @@ jobs:
|
437 | 454 |
|
438 | 455 | steps:
|
439 | 456 | - name: Reset existing repo
|
440 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 457 | + 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 |
441 | 460 |
|
442 | 461 | - name: Checkout cleanup script
|
443 | 462 | uses: actions/checkout@v4
|
@@ -484,7 +503,9 @@ jobs:
|
484 | 503 |
|
485 | 504 | steps:
|
486 | 505 | - name: Reset existing repo
|
487 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 506 | + 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 |
488 | 509 |
|
489 | 510 | - name: Checkout cleanup script
|
490 | 511 | uses: actions/checkout@v4
|
@@ -531,7 +552,9 @@ jobs:
|
531 | 552 | run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
|
532 | 553 |
|
533 | 554 | - name: Reset existing repo
|
534 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 555 | + 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 |
535 | 558 |
|
536 | 559 | - name: Checkout cleanup script
|
537 | 560 | uses: actions/checkout@v4
|
@@ -575,7 +598,9 @@ jobs:
|
575 | 598 |
|
576 | 599 | steps:
|
577 | 600 | - name: Reset existing repo
|
578 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 601 | + 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 |
579 | 604 |
|
580 | 605 | - name: Checkout cleanup script
|
581 | 606 | uses: actions/checkout@v4
|
@@ -629,7 +654,9 @@ jobs:
|
629 | 654 |
|
630 | 655 | steps:
|
631 | 656 | - name: Reset existing repo
|
632 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 657 | + 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 |
633 | 660 |
|
634 | 661 | - name: Checkout cleanup script
|
635 | 662 | uses: actions/checkout@v4
|
@@ -680,7 +707,9 @@ jobs:
|
680 | 707 |
|
681 | 708 | steps:
|
682 | 709 | - name: Reset existing repo
|
683 |
| - run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true |
| 710 | + 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 |
684 | 713 |
|
685 | 714 | - name: Checkout cleanup script
|
686 | 715 | uses: actions/checkout@v4
|
|
0 commit comments