-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
53 lines (45 loc) · 1.41 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Xamarin.Android
# Build a Xamarin.Android project.
# Add steps that test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'
- task: VSBuild@1
inputs:
solution: '**\*.sln'
platform: 'any cpu'
configuration: 'Release'
- task: NuGetCommand@2
inputs:
command: 'pack'
packagesToPack: '**/RxFFmpeg_Bindings.nuspec'
versioningScheme: 'off'
- task: NuGetCommand@2
displayName: NuGet push GitHub-Packages
continueOnError: true
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'external'
externalFeedCredentials: 'gh-packages'
publishFeedCredentials: 'gh-packages'
allowPackageConflicts: true
- task: NuGetCommand@2
displayName: NuGet push Nuget.org
continueOnError: true
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'nuget.org'
allowPackageConflicts: true