Skip to content

How smart is it? #231

Closed Answered by soumyamahunt
dabrahams asked this question in Q&A
Mar 2, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

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 using macos-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.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by soumyamahunt
Comment options

You must be logged in to vote
1 reply
@soumyamahunt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants