diff --git a/.github/pipelines/sf-initialize.yml b/.github/pipelines/sf-initialize.yml index 437f1d12..f200cb87 100644 --- a/.github/pipelines/sf-initialize.yml +++ b/.github/pipelines/sf-initialize.yml @@ -3,7 +3,7 @@ parameters: - name: SdkVersion type: string - default: "11.7.157.1" + default: "11.8.121.1" steps: - task: PowerShell@2 displayName: Install SF ${{parameters.SdkVersion}} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75775b8b..e4204cf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,9 @@ on: types: - published +env: + SF_VERSION: '11.8.121.1' + permissions: {} jobs: @@ -65,7 +68,7 @@ jobs: run: | Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -OutFile setup.exe -Uri https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/MicrosoftServiceFabric.11.7.157.1.exe + Invoke-WebRequest -OutFile setup.exe -Uri "https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/MicrosoftServiceFabric.${env:SF_VERSION}.exe" .\setup.exe /accepteula /force /quiet /SkipPSExecutionPolicy - name: Restore NuGet packages run: dotnet restore --configfile NuGet-GitHub.Config @@ -100,7 +103,7 @@ jobs: run: | Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -OutFile setup.exe -Uri https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/MicrosoftServiceFabric.11.7.157.1.exe + Invoke-WebRequest -OutFile setup.exe -Uri "https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/MicrosoftServiceFabric.${env:SF_VERSION}.exe" .\setup.exe /accepteula /force /quiet /SkipPSExecutionPolicy - name: Restore NuGet packages run: dotnet restore --configfile NuGet-GitHub.Config diff --git a/Directory.Packages.props b/Directory.Packages.props index 9bf2880d..9bb7f404 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -56,13 +56,13 @@ - - - + + + - - - + + +