flutter_distributor icon indicating copy to clipboard operation
flutter_distributor copied to clipboard

Multiple jobs with same platform and target

Open 0xConsumer opened this issue 2 years ago • 1 comments

How can I have two or more jobs (on same release) with same target and platform but different args, etc?

Example use case: building both bundle and split APKs for android.

releases:
  - name: prod
    jobs:
      - name: release-android-bundle
        package:
          platform: android
          target: apk
          build_args:
            target-platform: android-arm,android-arm64,android-x64
      - name: release-android-apk
        package:
          platform: android
          target: apk
          build_args:
            split-per-abi: ''
            target-platform: android-arm,android-arm64,android-x64

0xConsumer avatar Jul 13 '23 10:07 0xConsumer

其实就是split-per-abi:就行,不需要后面的‘’

Image

zhoujia456888 avatar Jun 09 '25 03:06 zhoujia456888