Skip to content

Commit

Permalink
ci: fix git clean wrong by filename too long (#7425)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind authored Aug 2, 2024
1 parent 771e48d commit de2c154
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
if: ${{ !inputs.skipable && !startsWith(runner.name, 'GitHub Actions') }}
shell: bash
run: |
git config --system core.longpaths true
git clean -ffdx -e node_modules -e target
git reset --hard HEAD
Expand Down Expand Up @@ -225,6 +226,7 @@ jobs:
if: ${{ !startsWith(runner.name, 'GitHub Actions') }}
shell: bash
run: |
git config --system core.longpaths true
git clean -ffdx -e node_modules -e target
git reset --hard HEAD
Expand Down Expand Up @@ -278,6 +280,7 @@ jobs:
if: ${{ !inputs.skipable && !startsWith(runner.name, 'GitHub Actions') }}
shell: bash
run: |
git config --system core.longpaths true
git clean -ffdx -e node_modules -e target
git reset --hard HEAD
Expand Down

2 comments on commit de2c154

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ran ecosystem CI: Open

suite result
modernjs ❌ failure
_selftest ✅ success
nx ❌ failure
rspress ✅ success
rsbuild ✅ success
examples ✅ success

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

Name Base (2024-08-02 9e235b0) Current Change
10000_development-mode + exec 2.24 s ± 27 ms 2.32 s ± 29 ms +3.80 %
10000_development-mode_hmr + exec 705 ms ± 15 ms 707 ms ± 12 ms +0.40 %
10000_production-mode + exec 2.8 s ± 34 ms 2.86 s ± 46 ms +2.08 %
arco-pro_development-mode + exec 1.89 s ± 105 ms 1.9 s ± 86 ms +0.51 %
arco-pro_development-mode_hmr + exec 433 ms ± 1.9 ms 434 ms ± 2.1 ms +0.24 %
arco-pro_production-mode + exec 3.42 s ± 110 ms 3.47 s ± 99 ms +1.33 %
threejs_development-mode_10x + exec 1.71 s ± 12 ms 1.7 s ± 9.3 ms -0.57 %
threejs_development-mode_10x_hmr + exec 836 ms ± 6.4 ms 810 ms ± 9.7 ms -3.10 %
threejs_production-mode_10x + exec 5.47 s ± 22 ms 5.49 s ± 53 ms +0.36 %

Please sign in to comment.