From e0549bf97bf6f658c11170264a5bce899894dc74 Mon Sep 17 00:00:00 2001 From: Jason Bissict Date: Tue, 30 Jan 2024 20:14:28 +0200 Subject: [PATCH] Try mitigation --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e6be1591..ed99dd818 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -158,7 +158,11 @@ jobs: poetry install -E 'twisted web' - name: Install Powershell Security Module run: | - Import-Module Microsoft.PowerShell.Security + set "extractPath=C:\Program Files\PowerShell\7" + curl -sLO https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/PowerShell-7.2.17-win-x64.zip + RMDIR "%extractPath%" /S /Q + 7z x PowerShell-7.2.17-win-x64.zip -o"%extractPath%" + pwsh --version - name: Integration Tests run: | $env:LIVE = 'True'