Skip to content

Commit

Permalink
Remove powershell downgrade CI step.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricio-ESP committed Oct 29, 2024
1 parent b561168 commit d8bd3ef
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,14 @@ jobs:
7z x ./artifacts/eim-${{ github.run_id }}-${{ matrix.os }}/eim.zip -otest-bin
# 7z x ./test-bin/eim.zip -otest-bin
- name: downgrade powershell version (Windows)
if: runner.os == 'Windows'
run: |
$extractPath = "C:\Program Files\PowerShell\7"
Invoke-WebRequest -Uri "https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/PowerShell-7.2.17-win-x64.zip" -OutFile "pwsh.zip"
Remove-Item -Path $extractPath -Recurse -Force -ErrorAction SilentlyContinue
Expand-Archive -Path "pwsh.zip" -DestinationPath $extractPath -Force
pwsh --version
# - name: downgrade powershell version (Windows)
# if: runner.os == 'Windows'
# run: |
# $extractPath = "C:\Program Files\PowerShell\7"
# Invoke-WebRequest -Uri "https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/PowerShell-7.2.17-win-x64.zip" -OutFile "pwsh.zip"
# Remove-Item -Path $extractPath -Recurse -Force -ErrorAction SilentlyContinue
# Expand-Archive -Path "pwsh.zip" -DestinationPath $extractPath -Force
# pwsh --version

- name: Print powershell and windows version (Windows)
if: runner.os == 'Windows'
Expand Down

0 comments on commit d8bd3ef

Please sign in to comment.