fix(build): android file sync prod env

This commit is contained in:
Andelf
2022-11-16 12:25:14 +08:00
parent 8e8834854b
commit 15b3b27b67
2 changed files with 3 additions and 3 deletions

View File

@@ -425,7 +425,7 @@ jobs:
with:
build-target: "${{ github.event.inputs.build-target }}"
# if scheduled, use production mode
enable-file-sync-production: true
enable-file-sync-production: "${{ github.event_name == 'schedule' || github.event.inputs.enable-file-sync-production == 'true' }}"
secrets:
ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"
ANDROID_KEYSTORE_PASSWORD: "${{ secrets.ANDROID_KEYSTORE_PASSWORD }}"