File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 8383 - name : Configure Git for access to vite-task
8484 run : git config --global url."https://x-access-token:${{ secrets.VITE_TASK_TOKEN }}@github.com/".insteadOf "ssh://git@github.com/"
8585
86+ # Disable Windows Defender real-time scanning to speed up I/O-heavy builds (~30-50% faster)
87+ - name : Disable Windows Defender
88+ if : runner.os == 'Windows'
89+ shell : powershell
90+ run : Set-MpPreference -DisableRealtimeMonitoring $true
91+
8692 - uses : oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
8793 with :
8894 save-cache : ${{ github.ref_name == 'main' }}
@@ -258,6 +264,12 @@ jobs:
258264 with :
259265 ecosystem-ci-project : ${{ matrix.project.name }}
260266
267+ # Disable Windows Defender real-time scanning to speed up I/O-heavy operations
268+ - name : Disable Windows Defender
269+ if : runner.os == 'Windows'
270+ shell : powershell
271+ run : Set-MpPreference -DisableRealtimeMonitoring $true
272+
261273 - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
262274 with :
263275 node-version : ${{ matrix.project.node-version }}
You can’t perform that action at this time.
0 commit comments