Skip to content

Commit

Permalink
.github/workflows/ci.yml: disable real-time protection on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Jul 23, 2024
1 parent c7cf208 commit c1ba0c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Disable RTM
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: Set-MpPreference -DisableRealtimeMonitoring $true

- name: Get date
id: get-date
run: echo "date=$(date -u +%Y-%m)" >> $GITHUB_OUTPUT
Expand All @@ -41,6 +46,7 @@ jobs:
lscpu 2>/dev/null && echo --- || true
sysctl hw 2>/dev/null && echo --- || true
env | sort
powershell -command Get-MpPreference 2>/dev/null || true
- name: Rust
shell: bash
Expand Down

0 comments on commit c1ba0c1

Please sign in to comment.