From 9145c87d32bf35268dde9a723053528ddc75654b Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Sun, 25 Aug 2024 21:09:20 +1000 Subject: [PATCH] Fix pwsh Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- .github/actions/just-setup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/just-setup/action.yml b/.github/actions/just-setup/action.yml index 691a6ac0..ca7595c9 100644 --- a/.github/actions/just-setup/action.yml +++ b/.github/actions/just-setup/action.yml @@ -35,7 +35,7 @@ runs: - name: Exclude workspace and cargo/rustup home from windows defender if: runner.os == 'Windows' run: | - Add-MpPreference -ExclusionPath $DEV_DRIVE,${{ github.workspace }} + Add-MpPreference -ExclusionPath '${{ env.DEV_DRIVE }},${{ github.workspace }}' shell: pwsh - uses: samypr100/setup-dev-drive@v3