@@ -16,34 +16,25 @@ jobs:
1616  steps :
1717  - powershell : | 
1818      $ENV:CAKE_SKIP_GITVERSION=([string]::IsNullOrEmpty($ENV:SYSTEM_PULLREQUEST_PULLREQUESTID) -eq $False).ToString() 
19-       .\build.ps1 -target  Buildserver 
19+       .\build.ps1 -- target= Buildserver 
2020      exit $LASTEXITCODE 
2121    displayName: 'Cake Build' 
2222job : macOS 
2323  pool :
2424    vmImage : ' macOS-10.15' 
2525  steps :
26-   #  To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
27-   #   https://go.microsoft.com/fwlink/?linkid=871629
26+   #  # To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
27+   #  #  https://go.microsoft.com/fwlink/?linkid=871629
28+   #  - bash: |
29+   #      sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
30+   #    displayName: 'Select Mono 5.18.1'
2831  - bash : | 
29-       sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1 
30-     displayName: 'Select Mono 5.18.1' 
31- bash : | 
32-       ./build.sh --target Buildserver 
32+       ./build.sh --target=Buildserver 
3333    displayName: 'Cake Build' 
3434job : Ubuntu 
3535  pool :
3636    vmImage : ' ubuntu-18.04' 
3737  steps :
38-   #  Use Mono 6.6.0 until Cake.Recipe is compatible with Cake 0.37.0 which fixes this issue
39-   - bash : | 
40-       sudo apt-get remove mono-complete mono-devel mono-gac mono-runtime-common monodoc-manual \ 
41-       && sudo apt-get autoremove \ 
42-       && echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial/snapshots/6.6.0.161 main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list \ 
43-       && sudo apt-get update \ 
44-       && sudo apt-get install -y --no-install-recommends mono-complete \ 
45-       && mono --version 
46-     displayName: 'Downgrade Mono to 6.6.0' 
4738  - bash : | 
48-       ./build.sh --verbosity diagnostic  
39+       ./build.sh --target=Buildserver  
4940    displayName: 'Cake Build' 
0 commit comments