Skip to content

Commit

Permalink
How to apply regedit in action? cannot?
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Mar 7, 2024
1 parent 7b3921c commit c694abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
& "C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate
Update-MpSignature
& "C:\Program Files\Windows Defender\MpCmdRun.exe" -ListAllDynamicSignatures
# Stop CI if no dynamic signatures are enabled
- name: Make sure dynamic signatures are enabled
run: |
Get-MpComputerStatus
if (!((& "C:\Program Files\Windows Defender\MpCmdRun.exe" -ListAllDynamicSignatures) | Select-String -Pattern "SignatureSet ID:")) {
Expand Down

0 comments on commit c694abc

Please sign in to comment.