52
52
- name : Set JDK 16 as default
53
53
run : echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
54
54
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
+
55
58
- name : Checkout cleanup script
56
59
uses : actions/checkout@v2
57
60
97
100
- name : Set JDK 16 as default
98
101
run : echo "/usr/lib/jvm/java-16-openjdk-amd64/bin" >> $GITHUB_PATH
99
102
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
+
100
106
- name : Checkout cleanup script
101
107
uses : actions/checkout@v2
102
108
@@ -132,6 +138,10 @@ jobs:
132
138
)"
133
139
134
140
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
+
135
145
- name : Git Checkout
136
146
uses : actions/checkout@v2
137
147
@@ -157,6 +167,10 @@ jobs:
157
167
)"
158
168
159
169
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
+
160
174
- name : Git Checkout
161
175
uses : actions/checkout@v2
162
176
@@ -190,6 +204,9 @@ jobs:
190
204
)"
191
205
192
206
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
+
193
210
- name : Checkout cleanup script
194
211
uses : actions/checkout@v2
195
212
@@ -230,6 +247,9 @@ jobs:
230
247
)"
231
248
232
249
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
+
233
253
- name : Checkout cleanup script
234
254
uses : actions/checkout@v2
235
255
@@ -270,6 +290,9 @@ jobs:
270
290
)"
271
291
272
292
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
+
273
296
- name : Checkout cleanup script
274
297
uses : actions/checkout@v2
275
298
@@ -310,6 +333,9 @@ jobs:
310
333
)"
311
334
312
335
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
+
313
339
- name : Checkout cleanup script
314
340
uses : actions/checkout@v2
315
341
@@ -358,6 +384,9 @@ jobs:
358
384
- name : Set JDK 8 as default
359
385
run : echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
360
386
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
+
361
390
- name : Checkout cleanup script
362
391
uses : actions/checkout@v2
363
392
@@ -394,6 +423,9 @@ jobs:
394
423
SONATYPE_USER : ${{ secrets.SONATYPE_USER_ORGSCALALANG }}
395
424
396
425
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
+
397
429
- name : Checkout cleanup script
398
430
uses : actions/checkout@v2
399
431
@@ -428,6 +460,9 @@ jobs:
428
460
# Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
429
461
430
462
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
+
431
466
- name : Checkout cleanup script
432
467
uses : actions/checkout@v2
433
468
@@ -474,6 +509,9 @@ jobs:
474
509
SONATYPE_USER : ${{ secrets.SONATYPE_USER_ORGSCALALANG }}
475
510
476
511
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
+
477
515
- name : Checkout cleanup script
478
516
uses : actions/checkout@v2
479
517
@@ -556,6 +594,9 @@ jobs:
556
594
# Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
557
595
558
596
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
+
559
600
- name : Checkout cleanup script
560
601
uses : actions/checkout@v2
561
602
@@ -601,6 +642,9 @@ jobs:
601
642
SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
602
643
603
644
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
+
604
648
- name : Checkout cleanup script
605
649
uses : actions/checkout@v2
606
650
0 commit comments