File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 os : [windows-latest, windows-11-arm]
1919 runs-on : ${{ matrix.os }}
2020 steps :
21- - name : Disable Windows Defender
22- run : Set-MpPreference -DisableRealtimeMonitoring $true
21+ - name : Add Windows Defender Exclusions
2322 shell : powershell
23+ run : |
24+ Add-MpPreference -ExclusionPath $env:GITHUB_WORKSPACE
25+ Add-MpPreference -ExclusionPath $env:TEMP
2426 - uses : actions/checkout@v6
2527 # Build and Test
2628 - name : Run task 'build'
5153 os : [windows-latest, windows-11-arm]
5254 runs-on : ${{ matrix.os }}
5355 steps :
54- - name : Disable Windows Defender
55- run : Set-MpPreference -DisableRealtimeMonitoring $true
56+ - name : Add Windows Defender Exclusions
5657 shell : powershell
58+ run : |
59+ Add-MpPreference -ExclusionPath $env:GITHUB_WORKSPACE
60+ Add-MpPreference -ExclusionPath $env:TEMP
5761 - uses : actions/checkout@v6
5862 # Build and Test
5963 - name : Run task 'build'
You can’t perform that action at this time.
0 commit comments