Skip to content

Commit

Permalink
Bugfix: Combine 2 steps to 1 to reduce mkdir operation (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou9584 authored May 11, 2023
1 parent aa924d0 commit f38a8fc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,12 @@ stages:
spotBugsAnalysis: false
condition: eq(variables.fullBuild, 'true')
- task: PowerShell@2
displayName: Copy APK to artifact
displayName: Copy APK & Mapping file to artifact
inputs:
targetType: 'inline'
script: |
mkdir -p $(Build.ArtifactStagingDirectory)/android_client
cp android_client/app/build/outputs/apk/release/app-release.apk $(Build.ArtifactStagingDirectory)/android_client/app-release-$hydraVersion.apk
condition: eq(variables.fullBuild, 'true')
- task: PowerShell@2
displayName: Copy Mapping file to artifact
inputs:
targetType: 'inline'
script: |
mkdir -p $(Build.ArtifactStagingDirectory)/android_client
cp android_client/app/build/outputs/mapping/release/mapping.txt $(Build.ArtifactStagingDirectory)/android_client/
condition: eq(variables.fullBuild, 'true')
- task: CopyFiles@2
Expand Down

0 comments on commit f38a8fc

Please sign in to comment.