Skip to content

Commit

Permalink
(chocolatey#141) Try running scripts in RemoteSigned mode
Browse files Browse the repository at this point in the history
Trying out running tests in RemoteSigned mode,
to see if things work as expected there.
  • Loading branch information
vexx32 committed Sep 25, 2024
1 parent 407ab9e commit 6fa4429
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
- name: ensure PowerShell is set to RemoteSigned mode
win_shell: |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
- name: ensure test package is uninstalled
win_chocolatey:
name: '{{ test_choco_packages }}'
Expand Down

0 comments on commit 6fa4429

Please sign in to comment.