6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 7d54956e
Changed files
azure/android-develop.yml | 3 +++ azure/android-prod.yml | 3 +++ azure/android-staging.yml | 3 +++ azure/templates/build-android.yml | 5 +---- 4 files changed, 10 insertions(+), 4 deletions(-)
Diff
diff --git a/azure/android-develop.yml b/azure/android-develop.yml
index f3fe1238..007c3ca8 100644
--- a/azure/android-develop.yml
+++ b/azure/android-develop.yml
@@ -12,6 +12,9 @@ variables:
env: develop
steps:
+- template: templates/download-env.yml
+ parameters:
+ env: develop
- template: templates/build-android.yml
parameters:
env: develop
diff --git a/azure/android-prod.yml b/azure/android-prod.yml
index 1a268abc..14c3341d 100644
--- a/azure/android-prod.yml
+++ b/azure/android-prod.yml
@@ -12,6 +12,9 @@ variables:
env: production
steps:
+- template: templates/download-env.yml
+ parameters:
+ env: production
- template: templates/build-android.yml
parameters:
env: production
diff --git a/azure/android-staging.yml b/azure/android-staging.yml
index 79c39bb9..4f462802 100644
--- a/azure/android-staging.yml
+++ b/azure/android-staging.yml
@@ -12,6 +12,9 @@ variables:
env: staging
steps:
+- template: templates/download-env.yml
+ parameters:
+ env: staging
- template: templates/build-android.yml
parameters:
env: staging
diff --git a/azure/templates/build-android.yml b/azure/templates/build-android.yml
index 230b5df0..8afe40ed 100644
--- a/azure/templates/build-android.yml
+++ b/azure/templates/build-android.yml
@@ -10,10 +10,7 @@ parameters:
steps:
- template: install-flutter.yml
-- template: download-env.yml
- parameters:
- env: "$(env)"
-
+
- task: DownloadSecureFile@1
name: localproperties
displayName: Download local properties file