Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jedipi committed Mar 23, 2024
1 parent 83a77cf commit 77ade90
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,29 @@ variables:
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'

steps:
- task: NuGetToolInstaller@1
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '8.0.x'

- task: Bash@3
displayName: Install MAUI
inputs:
targetType: 'inline'
script: |
dotnet nuget locals all --clear
dotnet workload install maui
dotnet workload install android ios maui wasm-tools
- task: NuGetToolInstaller@1
inputs:
versionSpec:
- task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'

- task: XamarinAndroid@1
- task: DotNetCoreCLI@2
inputs:
projectFile: '**/*droid*.csproj'
outputDirectory: '$(outputDirectory)'
configuration: '$(buildConfiguration)'
command: 'build'
projects: '**/QuickStockTaker.sln'
arguments: '-c Release -f net8.0-android'

0 comments on commit 77ade90

Please sign in to comment.