* We can use `boots --preview Xamarin.Android`
* Select JDK 11
This commit is contained in:
Jonathan Peppers 2021-09-20 09:32:24 -05:00 коммит произвёл GitHub
Родитель 534fbe2605
Коммит 9d30bb80f0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 17 добавлений и 7 удалений

4
.github/workflows/actions.yml поставляемый
Просмотреть файл

@ -19,7 +19,7 @@ jobs:
- name: install .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100-preview.7.21379.14
dotnet-version: 6.0.100-rc.1.21458.32
- name: install .NET workloads
run: dotnet workload install android ios macos --verbosity diag
@ -27,7 +27,7 @@ jobs:
- name: install Xamarin.Android
run: |
dotnet tool update --global boots --version 1.0.4.624
boots https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/5045838/6.0.1xx-preview7/f38d0a639add19221694ad73f79c34d2c7c76948/xamarin.android-11.4.99.78.pkg
boots --preview Xamarin.Android
- name: build SDK
run: dotnet build Xamarin.Legacy.Sdk.sln -bl:bin/Xamarin.Legacy.Sdk.binlog

Просмотреть файл

@ -17,15 +17,13 @@ variables:
- name: Configuration
value: Release
- name: DotNetVersion
value: 6.0.100-preview.7.21379.14
value: 6.0.100-rc.1.21458.32
- name: BootsVersion
value: 1.0.4.624
- name: DotNet.Cli.Telemetry.OptOut
value: true
- name: DotNet.Workloads
value: android ios macos
- name: Xamarin.Android.Vsix
value: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/5045838/6.0.1xx-preview7/f38d0a639add19221694ad73f79c34d2c7c76948/signed/Xamarin.Android.Sdk-11.4.99.78.vsix
jobs:
@ -34,6 +32,12 @@ jobs:
vmImage: windows-latest
demands: msbuild
steps:
- task: JavaToolInstaller@0
displayName: install JDK 11
inputs:
versionSpec: '11'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
- powershell: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
@ -45,7 +49,7 @@ jobs:
displayName: install .NET workloads
- powershell: |
& dotnet tool update --global boots --version $(BootsVersion)
& boots $(Xamarin.Android.Vsix)
& boots --preview Xamarin.Android
displayName: install Xamarin.Android
- script: dotnet build Xamarin.Legacy.Sdk.sln -bl:$(System.DefaultWorkingDirectory)/bin/Xamarin.Legacy.Sdk.binlog
displayName: build SDK
@ -71,6 +75,12 @@ jobs:
vmImage: windows-latest
demands: msbuild
steps:
- task: JavaToolInstaller@0
displayName: install JDK 11
inputs:
versionSpec: '11'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
- powershell: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
@ -82,7 +92,7 @@ jobs:
displayName: install .NET workloads
- powershell: |
& dotnet tool update --global boots --version $(BootsVersion)
& boots $(Xamarin.Android.Vsix)
& boots --preview Xamarin.Android
displayName: install Xamarin.Android
- task: MSBuild@1
inputs: