Trigger build with when.changeset in mono repo #2710
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceI have the following project structure
Here is the codemagic.yaml sample file:
Expected resultsWhen I make a push that contains only changes in the mobile_app, it will trigger both workflow Actual resultsWhen I make a push that contains only changes in the mobile_app, I should trigger only the mobile-workflow only, and same with the kiosk_app Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Hello @thangmoxielabs,
Once you make a first push with this yaml configuration, it should trigger both workflows and successfully build, after making changes to "mobile_app", the kiosk_app workflow will be skipped while the "mobile_app" builds successfully. Are you experiencing a different behaviour from this? If yes, kindly provide me with more information on the behaviour on your end |
Beta Was this translation helpful? Give feedback.
-
Updated: the set up above triggers both workflow, not none of them |
Beta Was this translation helpful? Give feedback.
-
We encounter the same problem: All the workflows trigger even when nothing is changes in the supplied folders or files. This seems to be the same behavior as @dam-ease Files changed: So nothing would match but it still triggrs |
Beta Was this translation helpful? Give feedback.
Hello @thangmoxielabs,
The exepected result is as thus:
Once you make a first push with this yaml configuration, it should trigger both workflows and successfully build, after making changes to "mobile_app", the kiosk_app workflow will be skipped while the "mobile_app" builds successfully.
Are you experiencing a different behaviour from this? If yes, kindly provide me with more information on the behaviour on your end