File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ steps:
3838
3939 # Set Mono version on macOS
4040 - ${{ if eq(parameters.os, 'macOS') }} :
41- - task : ms-devlabs.utilitytasks.task-Shellpp.Shell++@0
41+ - task : Bash@3
4242 displayName : Set Mono Version
4343 inputs :
44- type : InlineScript
44+ targetType : inline
4545 script : |
4646 # use Mono 6.4.0 version
4747 SYMLINK=6.4.0
@@ -52,31 +52,22 @@ steps:
5252
5353 # Install mono when running on Linux
5454 - ${{ if eq(parameters.os, 'Linux') }} :
55- - task : ms-devlabs.utilitytasks.task-Shellpp.Shell++@0
56- displayName : Version Information
55+ - task : Bash@3
56+ displayName : Install tools
5757 inputs :
58- type : InlineScript
58+ targetType : inline
5959 script : |
60- # Testing and packaging tools
61- sudo apt-get -yq install mono-vbnc dos2unix fakeroot
60+ sudo apt-get -yq install mono-vbnc dos2unix
6261
63- # Dump some info about the tools
64- mono --version
65- msbuild /version
66- dotnet --info
67- df -Th
68-
69- # Dump version info on macOS
70- - ${{ if eq(parameters.os, 'macOS') }} :
71- - task : ms-devlabs.utilitytasks.task-Shellpp.Shell++@0
72- displayName : Version Information
73- inputs :
74- type : InlineScript
75- script : |
76- # Dump some info about the tools
77- mono --version
78- msbuild /version
79- dotnet --info
62+ # Dump version info
63+ - task : PowerShell@2
64+ displayName : Version Information
65+ inputs :
66+ targetType : inline
67+ script : |
68+ dotnet --info
69+ try { msbuild -version } catch { }
70+ try { mono --version } catch { }
8071
8172 - powershell : ./make.ps1
8273 displayName : Build
You can’t perform that action at this time.
0 commit comments