Skip to content

Commit

Permalink
Remove pwsh 7.0 feature from qatest.yaml
Browse files Browse the repository at this point in the history
Resolving the following error: 
Line |
  22 |  … 0EJgh7B0O9Ah3biE67bG5q5163Q18Mt"} -OutFile $InstallerPath -NoProgress
     |                                                              ~~~~~~~~~~~
     | A parameter cannot be found that matches parameter name 'NoProgress'.
Error: Process completed with exit code 1.
It appears -NoProgress is specific to Powershell 7+. 
Removing as it's not necessary.
  • Loading branch information
AtlasLinden authored Feb 12, 2025
1 parent b5271dd commit 975e235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/qatest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
$InstallerPath = "$DownloadPath\installer.zip"
# Download the ZIP
Invoke-WebRequest -Uri $ARTIFACT_NAME -Headers @{Authorization="token ${{ secrets.GITHUB_TOKEN }}"} -OutFile $InstallerPath -NoProgress
Invoke-WebRequest -Uri $ARTIFACT_NAME -Headers @{Authorization="token ${{ secrets.GITHUB_TOKEN }}"} -OutFile $InstallerPath
# Ensure download succeeded
if (-Not (Test-Path $InstallerPath)) {
Expand Down

0 comments on commit 975e235

Please sign in to comment.