diff --git a/build/canary-merge.yml b/build/canary-merge.yml index c72b8d04..29f37bc3 100644 --- a/build/canary-merge.yml +++ b/build/canary-merge.yml @@ -15,7 +15,7 @@ pool: vmImage: $(windowsHostedAgentImage) variables: - SolutionFileName: ApplicationTemplate.sln +- template: variables.yml steps: - checkout: self @@ -31,7 +31,7 @@ steps: env: SYSTEM_ACCESSTOKEN: $(System.AccessToken) inputs: - solution: '$(Build.SourcesDirectory)/src/$(SolutionFileName)' + solution: '$(Build.SourcesDirectory)/src/$(SolutionName).sln' usePrivateFeed: false useNuGetOrg: true mergeBranch: true diff --git a/build/steps-build-android.yml b/build/steps-build-android.yml index f036a167..4891cf38 100644 --- a/build/steps-build-android.yml +++ b/build/steps-build-android.yml @@ -44,6 +44,13 @@ steps: versionName: $(MajorMinorPatch) printFile: true +- task: JavaToolInstaller@0 + displayName: "Install Java SDK 11" + inputs: + versionSpec: '11' + jdkArchitectureOption: 'x64' + jdkSourceOption: 'PreInstalled' + - script: > dotnet $(dotNetCommand) ${{ parameters.pathToSrc }}/app/${{ parameters.solutionName }}.Mobile -f:$(BuildTargetFramework)