leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
772 stars 106 forks source link

Multiple jobs with same platform and target #135

Open problematicconsumer opened 1 year ago

problematicconsumer commented 1 year ago

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