mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fix adding windows defender exclusion path
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
37e817601a
commit
6762dfde40
1 changed files with 2 additions and 2 deletions
4
.github/actions/just-setup/action.yml
vendored
4
.github/actions/just-setup/action.yml
vendored
|
@ -35,8 +35,8 @@ runs:
|
|||
- name: Exclude workspace and cargo/rustup home from windows defender
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
Add-MpPreference -ExclusionPath $DEV_DRIVE -ExclusionPath $PWD
|
||||
shell: bash
|
||||
Add-MpPreference -ExclusionPath $DEV_DRIVE -ExclusionPath ${{ github.workspace }}
|
||||
shell: pwsh
|
||||
|
||||
- uses: samypr100/setup-dev-drive@v3
|
||||
if: runner.os == 'Windows'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue