Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift 5.8 isn't available on Windows #560

Open
wadetregaskis opened this issue Apr 30, 2023 · 4 comments
Open

Swift 5.8 isn't available on Windows #560

wadetregaskis opened this issue Apr 30, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@wadetregaskis
Copy link

Describe the bug
"Version "5.8" is not available"

https://github.com/wadetregaskis/FoundationExtensions/actions/runs/4842921516/jobs/8630176019#step:2:5

Workflow configuration (please complete the following information):

  • Action version (uses): swift-actions/setup-swift@v1
  • Platform (runs-on): windows-latest
  • Swift version (swift-version): 5.8
@wadetregaskis wadetregaskis added the bug Something isn't working label Apr 30, 2023
wadetregaskis added a commit to wadetregaskis/FoundationExtensions that referenced this issue Apr 30, 2023
@kassane
Copy link

kassane commented Dec 4, 2023

Same error on 5.9:

https://github.com/kassane/CxxInterop-tests/actions/runs/7087742018/job/19288682450#step:4:5

Run swift-actions/[email protected]
Error: Unexpected error, unable to continue. Please report at https://github.com/swift-actions/setup-swift/issues
Version "5.9" is not available
Stacktrace:
Error: Version "5.9" is not available
    at Object.verify (D:\a\_actions\swift-actions\setup-swift\v1.25.0\dist\index.js:648:15)
    at D:\a\_actions\swift-actions\setup-swift\v1.25.0\dist\index.js:397:36
    at Generator.next (<anonymous>)
    at fulfilled (D:\a\_actions\swift-actions\setup-swift\v1.25.0\dist\index.js:377:58)

@k-taro56
Copy link

k-taro56 commented Mar 5, 2024

This setup is not intended to work on Windows with Swift versions 5.7, 5.7.1, 5.7.2, 5.7.3, 5.8, 5.8.1, 5.9, 5.9.1, and 5.9.2. This is a specification, not a bug.

["5.9.2", [OS.MacOS, OS.Ubuntu]],

@wadetregaskis
Copy link
Author

Oh, that's disappointing. Why has setup-swift dropped Windows support?

@k-taro56
Copy link

k-taro56 commented Mar 7, 2024

@wadetregaskis
I agree with you. It seems that the reason is mentioned in the following link, but I would appreciate it if it was explicitly stated.
#499 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants