5252 - name : Set JDK 16 as default
5353 run : echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
5454
55+ - name : Reset existing repo
56+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
57+
5558 - name : Checkout cleanup script
5659 uses : actions/checkout@v2
5760
97100 - name : Set JDK 16 as default
98101 run : echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
99102
103+ - name : Reset existing repo
104+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
105+
100106 - name : Checkout cleanup script
101107 uses : actions/checkout@v2
102108
@@ -132,6 +138,10 @@ jobs:
132138 )"
133139
134140 steps :
141+ - name : Reset existing repo
142+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
143+ shell : cmd
144+
135145 - name : Git Checkout
136146 uses : actions/checkout@v2
137147
@@ -157,6 +167,10 @@ jobs:
157167 )"
158168
159169 steps :
170+ - name : Reset existing repo
171+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
172+ shell : cmd
173+
160174 - name : Git Checkout
161175 uses : actions/checkout@v2
162176
@@ -190,6 +204,9 @@ jobs:
190204 )"
191205
192206 steps :
207+ - name : Reset existing repo
208+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
209+
193210 - name : Checkout cleanup script
194211 uses : actions/checkout@v2
195212
@@ -230,6 +247,9 @@ jobs:
230247 )"
231248
232249 steps :
250+ - name : Reset existing repo
251+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
252+
233253 - name : Checkout cleanup script
234254 uses : actions/checkout@v2
235255
@@ -270,6 +290,9 @@ jobs:
270290 )"
271291
272292 steps :
293+ - 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
295+
273296 - name : Checkout cleanup script
274297 uses : actions/checkout@v2
275298
@@ -310,6 +333,9 @@ jobs:
310333 )"
311334
312335 steps :
336+ - name : Reset existing repo
337+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
338+
313339 - name : Checkout cleanup script
314340 uses : actions/checkout@v2
315341
@@ -358,6 +384,9 @@ jobs:
358384 - name : Set JDK 8 as default
359385 run : echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
360386
387+ - name : Reset existing repo
388+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
389+
361390 - name : Checkout cleanup script
362391 uses : actions/checkout@v2
363392
@@ -394,6 +423,9 @@ jobs:
394423 SONATYPE_USER : ${{ secrets.SONATYPE_USER_ORGSCALALANG }}
395424
396425 steps :
426+ - name : Reset existing repo
427+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
428+
397429 - name : Checkout cleanup script
398430 uses : actions/checkout@v2
399431
@@ -428,6 +460,9 @@ jobs:
428460 # Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
429461
430462 steps :
463+ - name : Reset existing repo
464+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
465+
431466 - name : Checkout cleanup script
432467 uses : actions/checkout@v2
433468
@@ -474,6 +509,9 @@ jobs:
474509 SONATYPE_USER : ${{ secrets.SONATYPE_USER_ORGSCALALANG }}
475510
476511 steps :
512+ - name : Reset existing repo
513+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
514+
477515 - name : Checkout cleanup script
478516 uses : actions/checkout@v2
479517
@@ -556,6 +594,9 @@ jobs:
556594 # Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
557595
558596 steps :
597+ - name : Reset existing repo
598+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
599+
559600 - name : Checkout cleanup script
560601 uses : actions/checkout@v2
561602
@@ -601,6 +642,9 @@ jobs:
601642 SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
602643
603644 steps :
645+ - name : Reset existing repo
646+ run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
647+
604648 - name : Checkout cleanup script
605649 uses : actions/checkout@v2
606650
0 commit comments