diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 801d2ba8f..aaaedabc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -158,10 +158,9 @@ jobs: poetry install -E 'twisted web' - name: Downgrade to previous version of powershell run: | - 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%" + RMDIR "C:\Program Files\PowerShell\7" /S /Q + 7z x PowerShell-7.2.17-win-x64.zip -o"C:\Program Files\PowerShell\7" pwsh --version - name: Integration Tests run: |