-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathazure-pipeline-pullrequests.yml
37 lines (30 loc) · 1.26 KB
/
azure-pipeline-pullrequests.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
pr:
- master
pool:
vmImage: 'macOS-12'
steps:
- bash: |
echo "##vso[build.updatebuildnumber]pullrequests-xamarin-revenuecat-android-$(Build.SourceBranchName)-$(Build.BuildId)"
displayName: Set Build Number
- bash: |
cd Xamarin.RevenueCat.Android
msbuild /t:Restore /p:Configuration=Release
msbuild /t:Build /p:Configuration=Release
msbuild /t:Pack /p:Configuration=Release
displayName: "Xamarin.RevenueCat.Android: Build Release Nuget"
- bash: |
cd Xamarin.RevenueCat.Android.Extensions
msbuild /t:Restore /p:Configuration=Release
msbuild /t:Build /p:Configuration=Release
msbuild /t:Pack /p:Configuration=Release
displayName: "Xamarin.RevenueCat.Android.Extensions: Build Release Nuget"
- bash: |
cd Xamarin.RevenueCat.Android.UsageChecker
msbuild /t:Restore
displayName: Restore UsageChecker
- task: XamarinAndroid@1
displayName: Build UsageChecker
inputs:
projectFile: 'Xamarin.RevenueCat.Android.UsageChecker/Xamarin.RevenueCat.Android.UsageChecker.csproj'
msbuildArguments: '/t:SignAndroidPackage /p:AndroidKeyStore=true /p:AndroidSigningKeyStore=usagechecker.jks /p:AndroidSigningKeyAlias=usagechecker /p:AndroidSigningKeyPass=usagechecker /p:AndroidSigningStorePass=usagechecker'
createAppPackage: true