Stack define in bitrise.yml fetch from repository doesn't affect

I have updated the stack in the bitrise.yml and we use fetch from the repository but it doesn’t affect. We need to go to Workflow → Stack in Bitrise UI to change it. When changing it, it warns that the stack needs to be changed in the bitrise.yml in the main branch but after that, it is affected. Is it intended?

Hello @chinh.ngo :wave:

Currently the feature to select the stack from the yml does not work as intended, and setting this in the workflow editor instead is what we advise. It is better to remove the stack specification from the yml altogether for the time being. :slight_smile:

Hey there!

Wanted to update this thread since this is something we just introduced. From now on, you should be able to correctly set your main stack using the .yml.

meta:
  bitrise.io:
    machine_type_id: elite
    stack: osx-xcode-13.0.x

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.