File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 33# Licensed under the MIT license. See LICENSE file in the project root for full license information.
44#
55
6+ $FUNC_RUNTIME_VERSION = ' 3'
7+
68$arch = [System.Runtime.InteropServices.RuntimeInformation ]::OSArchitecture.ToString().ToLowerInvariant()
79if ($IsWindows ) {
810 $FUNC_EXE_NAME = " func.exe"
@@ -16,7 +18,7 @@ if ($IsWindows) {
1618 }
1719}
1820
19- $FUNC_CLI_DOWNLOAD_URL = " https://functionsclibuilds.blob.core.windows.net/builds/2 /latest/Azure.Functions.Cli.$os -$arch .zip"
21+ $FUNC_CLI_DOWNLOAD_URL = " https://functionsclibuilds.blob.core.windows.net/builds/$FUNC_RUNTIME_VERSION /latest/Azure.Functions.Cli.$os -$arch .zip"
2022$FUNC_CLI_DIRECTORY = Join-Path $PSScriptRoot ' Azure.Functions.Cli'
2123
2224Write-Host ' Deleting Functions Core Tools if exists...'
@@ -25,7 +27,7 @@ Remove-Item -Recurse -Force $FUNC_CLI_DIRECTORY -ErrorAction Ignore
2527
2628if (-not $env: CORE_TOOLS_URL )
2729{
28- $env: CORE_TOOLS_URL = ' https://functionsclibuilds.blob.core.windows.net/builds/2 /latest'
30+ $env: CORE_TOOLS_URL = " https://functionsclibuilds.blob.core.windows.net/builds/$FUNC_RUNTIME_VERSION /latest"
2931}
3032
3133$version = Invoke-RestMethod - Uri " $env: CORE_TOOLS_URL /version.txt"
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+ <PropertyGroup >
3+ <TargetFramework >netstandard2.0</TargetFramework >
4+ <WarningsAsErrors ></WarningsAsErrors >
5+ <DefaultItemExcludes >**</DefaultItemExcludes >
6+ </PropertyGroup >
7+ <ItemGroup >
8+ <PackageReference Include =" Microsoft.Azure.WebJobs.Extensions.DurableTask" Version =" 1.8.2" />
9+ </ItemGroup >
10+ </Project >
Original file line number Diff line number Diff line change 33 "Values" : {
44 "AzureWebJobsEventHubSender" :" " ,
55 "AzureWebJobsCosmosDBConnectionString" :" " ,
6+ "AzureWebJobsFeatureFlags" : " AllowSynchronousIO" ,
67 "FUNCTIONS_WORKER_RUNTIME" : " powershell" ,
78 "PSWorkerEnableExperimentalDurableFunctions" : " true"
89 }
You can’t perform that action at this time.
0 commit comments