-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathazure-pipelines.yml
43 lines (36 loc) · 1.14 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
# Android
# Build your Android project with Gradle.
# Add steps that test, sign, and distribute the APK, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/android
trigger:
- master
pool:
vmImage: 'macos-latest'
steps:
- task: Gradle@3
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.17'
publishJUnitResults: false
tasks: 'assembleMagiskDebug assembleMagiskRelease'
- task: CopyFiles@2
inputs:
contents: '**/build/outputs/magisk/dreamland-**.zip'
targetFolder: '$(build.artifactStagingDirectory)'
cleanTargetFolder: true
flattenFolders: true
- task: CopyFiles@2
inputs:
contents: '**/build/outputs/mapping/release/**.txt'
targetFolder: '$(build.artifactStagingDirectory)'
cleanTargetFolder: false
flattenFolders: true
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: '$(build.artifactStagingDirectory)'
artifactName: 'dreamland-$(build.buildId).zip'
artifactType: 'container'
pr: none