@@ -71,11 +71,16 @@ jobs:
71
71
ref : ${{ inputs.ref }}
72
72
clean : ${{ startsWith(runner.name, 'GitHub Actions') }}
73
73
74
- - name : Clean
74
+ - name : Git Clean
75
75
if : ${{ !inputs.skipable && !startsWith(runner.name, 'GitHub Actions') }}
76
- uses : ./.github/actions/clean
77
- with :
78
- target : ${{ inputs.target }}
76
+ shell : bash
77
+ run : |
78
+ git config --system core.longpaths true
79
+ echo "rm -rf node_modules"
80
+ rm -rf node_modules
81
+ echo "git clean -ffdx -e target"
82
+ git clean -ffdx -e target
83
+ git reset --hard HEAD
79
84
80
85
- name : Setup tmate session
81
86
uses : mxschmitt/action-tmate@v3
@@ -220,11 +225,16 @@ jobs:
220
225
ref : ${{ inputs.ref }}
221
226
clean : ${{ startsWith(runner.name, 'GitHub Actions') }}
222
227
223
- - name : Clean
228
+ - name : Git Clean
224
229
if : ${{ !startsWith(runner.name, 'GitHub Actions') }}
225
- uses : ./.github/actions/clean
226
- with :
227
- target : ${{ inputs.target }}
230
+ shell : bash
231
+ run : |
232
+ git config --system core.longpaths true
233
+ echo "rm -rf node_modules"
234
+ rm -rf node_modules
235
+ echo "git clean -ffdx -e target"
236
+ git clean -ffdx -e target
237
+ git reset --hard HEAD
228
238
229
239
- name : Download bindings
230
240
uses : ./.github/actions/download-artifact
@@ -272,11 +282,16 @@ jobs:
272
282
ref : ${{ inputs.ref }}
273
283
clean : ${{ startsWith(runner.name, 'GitHub Actions') }}
274
284
275
- - name : Clean
285
+ - name : Git Clean
276
286
if : ${{ !inputs.skipable && !startsWith(runner.name, 'GitHub Actions') }}
277
- uses : ./.github/actions/clean
278
- with :
279
- target : ${{ inputs.target }}
287
+ shell : bash
288
+ run : |
289
+ git config --system core.longpaths true
290
+ echo "rm -rf node_modules"
291
+ rm -rf node_modules
292
+ echo "git clean -ffdx -e target"
293
+ git clean -ffdx -e target
294
+ git reset --hard HEAD
280
295
281
296
- name : Download bindings
282
297
if : ${{ !inputs.skipable }}
0 commit comments