-
Notifications
You must be signed in to change notification settings - Fork 104
/
fluentui-android-master-build.yml
51 lines (44 loc) · 1.48 KB
/
fluentui-android-master-build.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
variables:
- group: InfoSec-SecurityResults
- name: tags
value: production,externalfacing
jobs:
- template: fluentui-android-compliance.yml
- job: Build
dependsOn: Compliance
pool:
vmImage: 'macos-latest'
variables:
- name: BUILDSECMON_OPT_IN
value: true
steps:
- task: Gradle@2
displayName: 'gradlew build'
inputs:
gradleWrapperFile: 'gradlew'
tasks: 'build'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
options: '-PappCenterSecret=$(appCenterSecret) -PsigningKeyPassword=$(signingKeyPassword) -PsigningKeyStorePassword=$(signingKeyStorePassword)'
- task: AndroidSigning@2
displayName: 'Signing and aligning APK file(s) **/*.apk'
inputs:
jarsign: false
zipalign: false
- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)'
Contents: |
**/*.apk
**/*.aar
TargetFolder: '$(build.artifactstagingdirectory)'
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 📒 Generate Manifest
inputs:
BuildDropPath: '$(build.artifactstagingdirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: Build'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
ArtifactName: Build