forked from microsoft/fluentui-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfluentui-android-modular-build-universal-publish.yml
39 lines (35 loc) · 1.2 KB
/
fluentui-android-modular-build-universal-publish.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
pool:
vmImage: 'macos-latest'
demands:
- java
- JDK
steps:
- task: Gradle@2
inputs:
gradleWrapperFile: 'gradlew'
tasks: 'assembleRelease makeUniversalPkg'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
options: '-PappCenterSecret=$(appCenterSecret) -PsigningKeyPassword=$(signingKeyPassword) -PsigningKeyStorePassword=$(signingKeyStorePassword)'
- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)/universal'
Contents: '**'
TargetFolder: '$(build.artifactstagingdirectory)/outputs'
CleanTargetFolder: true
OverWrite: true
preserveTimestamp: true
- task: UniversalPackages@0
inputs:
command: 'publish'
publishDirectory: '$(Build.ArtifactStagingDirectory)/outputs/'
feedsToUsePublish: 'internal'
vstsFeedPublish: 'Office'
vstsFeedPackagePublish: 'fluentuiandroid'
versionOption: 'custom'
versionPublish: '0.0.20'
packagePublishDescription: 'Fluent Universal Package'
publishedPackageVar: 'fluent package'