From f7fef5df3cb2db165611c0d4c2b792fd7da53c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A2m=20V=C3=B5?= Date: Fri, 5 Jul 2024 11:29:06 +0700 Subject: [PATCH] Update Code --- .github/workflows/scar-king.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/scar-king.yml b/.github/workflows/scar-king.yml index a32df25..156f445 100644 --- a/.github/workflows/scar-king.yml +++ b/.github/workflows/scar-king.yml @@ -133,24 +133,28 @@ jobs: matrix: # include: ${{ fromJson(needs.init.outputs.matrix) }} # name: ["macos-14", "ubuntu-22.04", "ubuntu-22.04"] - format: ["IPA", "APK", "AAB"] - build_env: ["$BUILD_ENV"] + format: + - "IPA" + - "APK" + - "AAB" + build_env: + - ${{github.event.client_payload.build_env}} include: - format: "IPA" name: "macos-14" platform: "IOS" - build_cmd: ios build_ios - deploy_cmd: ios deploy_ios + build_cmd: "ios build_ios" + deploy_cmd: "ios deploy_ios" - format: "APK" name: "ubuntu-22.04" platform: "ANDROID" - build_cmd: android build_apk - deploy_cmd: android distribute_firebase_apk + build_cmd: "android build_apk" + deploy_cmd: "android distribute_firebase_apk" - format: "AAB" name: "ubuntu-22.04" platform: "ANDROID" - build_cmd: android build_aab - deploy_cmd: android distribute_firebase_aab + build_cmd: "android build_aab" + deploy_cmd: "android distribute_firebase_aab" # include: # - name: "macos-14" # format: "IPA"