Last active
March 20, 2026 11:25
-
-
Save berkus/860285a2ee184022b57e2916ea3400c3 to your computer and use it in GitHub Desktop.
Disable windows defender to speed up builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Disable Windows Defender on build dirs | |
| if: runner.os == 'Windows' | |
| run: | | |
| Add-MpPreference -ExclusionPath "$env:GITHUB_WORKSPACE" | |
| Add-MpPreference -ExclusionPath "$env:USERPROFILE\.cargo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment