How smart is it? #231
-
I notice that when I ask for swift 5.9 on GitHub's Thanks! P.S. Love the very usable interface to installing on any platform. Thanks for making this available. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Glad to know you find this action useful. I just noticed this discussion so here is the rationale. Swift 5.9 requires Xcode 15 as mentioned in swift.org. The This action won't download Swift if required Xcode version is installed and will just switch the default Xcode version to that installation. i.e. for |
Beta Was this translation helpful? Give feedback.
-
Yeah, I eventually found out macos-latest was 12, not 13 (how suprising!) Sorry for not closing this issue. That said, I don't think
is true. You can install a Swift 5.9 release on a machine with no Xcode installed at all. In fact, I'm pretty sure Xcode 15 doesn't run on macOS 12, so when your action downloads Swift 5.9 on |
Beta Was this translation helpful? Give feedback.
Glad to know you find this action useful. I just noticed this discussion so here is the rationale.
Swift 5.9 requires Xcode 15 as mentioned in swift.org. The
macos-latest
runner is listed to be usingmacos-12
runner as of now, which doesn't have Xcode 15 installed. Hence the action downloads Swift 5.9.This action won't download Swift if required Xcode version is installed and will just switch the default Xcode version to that installation. i.e. for
macos-13
Swift 5.9 won't be installed, you can also see this in action as part of integration test.