Skip to content

[Ignore] Use daily build again #1353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .vsts-ci/templates/ci-general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@ parameters:
pwsh: true

steps:
# TODO: Bring this back when we understand why it was causing E2E tests to hang.
# Related issue: https://github.com/PowerShell/PowerShellEditorServices/issues/1335
# - powershell: |
# Write-Host "Installing PowerShell Daily..."
- powershell: |
Write-Host "Installing PowerShell Daily..."

# # Use `AGENT_TEMPDIRECTORY` to make sure the downloaded PowerShell is cleaned up.
# $powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
# Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile ./install-powershell.ps1
# Use `AGENT_TEMPDIRECTORY` to make sure the downloaded PowerShell is cleaned up.
$powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile ./install-powershell.ps1

# ./install-powershell.ps1 -Destination $powerShellPath -Daily
./install-powershell.ps1 -Destination $powerShellPath -Daily

# # Using `prependpath` to update the PATH just for this build.
# Write-Host "##vso[task.prependpath]$powerShellPath"
# displayName: Install PowerShell Daily
# continueOnError: true
# Using `prependpath` to update the PATH just for this build.
Write-Host "##vso[task.prependpath]$powerShellPath"
displayName: Install PowerShell Daily
continueOnError: true

- pwsh: '$PSVersionTable'
displayName: Display PowerShell version information
Expand Down