Skip to content

Commit 4415c82

Browse files
committed
Use modern Core Tools version
1 parent 0b204e9 commit 4415c82

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/e2e/Tests/build-e2e-test.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ if ($PSVersionTable.PSEdition -ne 'Core') {
3232

3333
$ErrorActionPreference = "Stop"
3434

35+
$CORE_TOOLS_VERSION = '4.0.7317'
36+
3537
$ProjectBaseDirectory = Join-Path $PSScriptRoot "..\..\.."
3638
$ProjectTemporaryPath = Join-Path ([System.IO.Path]::GetTempPath()) "DurableTaskExtensionE2ETests"
3739
New-Item -Path $ProjectTemporaryPath -ItemType Directory -ErrorAction SilentlyContinue
@@ -101,8 +103,11 @@ else
101103

102104
if ([string]::IsNullOrWhiteSpace($coreToolsURL))
103105
{
104-
$coreToolsURL = "https://functionsclibuilds.blob.core.windows.net/builds/$FunctionsRuntimeVersion/latest/Azure.Functions.Cli.$os-$arch.zip"
105-
$versionUrl = "https://functionsclibuilds.blob.core.windows.net/builds/$FunctionsRuntimeVersion/latest/version.txt"
106+
# $coreToolsURL = "https://functionsclibuilds.blob.core.windows.net/builds/$FunctionsRuntimeVersion/latest/Azure.Functions.Cli.$os-$arch.zip"
107+
# $versionUrl = "https://functionsclibuilds.blob.core.windows.net/builds/$FunctionsRuntimeVersion/latest/version.txt"
108+
109+
$coreToolsURL = "https://github.com/Azure/azure-functions-core-tools/releases/download/$CORE_TOOLS_VERSION/Azure.Functions.Cli.$os-$arch.$CORE_TOOLS_VERSION.zip"
110+
106111
}
107112

108113
Write-Host ""

0 commit comments

Comments
 (0)