According to the documentation, the macOS-latest image includes many versions of Xcode. But how do I select one?
As another way, you can use
DEVELOPER_DIR env variable.
env: DEVELOPER_DIR: /Applications/Xcode_9.4.1.app/Contents/Developer
Thanks. I guess I expected some specific syntax for Xcode version, not to have to set the version manually.