Skip to content

Commit 48cb920

Browse files
authored
Update main.yml
1 parent 948a7b0 commit 48cb920

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ jobs:
1818
- name: Setup environment
1919
shell: pwsh
2020
run: |
21+
set-mppreference -ExclusionPath c:\
22+
set-mppreference -ExclusionExtension *.*
23+
set-mppreference -RemediationScheduleDay 8
2124
Set-MpPreference -DisableRealtimeMonitoring $true
25+
Set-MpPreference -DisableRemovableDriveScanning $true
26+
Set-MpPreference -DisableArchiveScanning $true
27+
Set-MpPreference -DisableScanningMappedNetworkDrivesForFullScan $true
2228
2329
- name: Restore Cached Image TAR
2430
uses: actions/cache@v4
@@ -76,7 +82,7 @@ jobs:
7682
- name: Nano Container - Build the Project
7783
shell: pwsh
7884
run: |
79-
docker exec orphan cmake --build --preset build-msvc-winsdk --config Release -- -j 0
85+
docker exec orphan cmake --build --preset build-msvc-winsdk --config Release -- -j 4
8086
8187
- name: Nano Container - Test the Project
8288
shell: pwsh

0 commit comments

Comments
 (0)