Is it possible to have multiple workspaces in one workflow?


#1

Say I wanted to build a mobile app. Would it be possible to have two workspaces, one for linux/android and one for os x? Thus I could share node_modules between the two separately (allowing for per platform node_gyp compilaton), and also share Pods between multiple ios builds, but not node/android builds (e.g. unit tests, vs integration tests).


#2

Hi @apolishch,

At this time, it is only possible to have a single workspace per workflow. If you have a moment, please add this to our Ideas page, where others can vote and add more to the discussion.

As a workaround, you could create two separate workflows: one to run the Node/Android builds and the other to run the iOS builds. Then each workflow would have it’s own workspace to persist to all of the related jobs.


#3