Closed techthoughts2 closed 4 years ago
Buildspec file should download, install, and run PS7
Incorrectly references PS6 path:
- powershell -command '.\configure_aws_credential.ps1' - aws s3 cp s3://bucket/PowerShell-7.0.0-win-x64.msi PowerShell-7.0.0-win-x64.msi --quiet - powershell -command "Start-Process $env:CODEBUILD_SRC_DIR\PowerShell-7.0.0-win-x64.msi -ArgumentList '/qn /norestart' -Wait" - '& "C:\Program Files\PowerShell\6\pwsh.exe" -command ''.\install_modules.ps1'''
Change to reference PS7 path
This was addressed in a previous release.
Expected Behavior
Buildspec file should download, install, and run PS7
Current Behavior
Incorrectly references PS6 path:
Possible Solution
Change to reference PS7 path
Steps to Reproduce