setup-swift icon indicating copy to clipboard operation
setup-swift copied to clipboard

Version 6.0 is unavailable

Open fwcd opened this issue 1 year ago • 5 comments

Swift 6.0 has been released, so it would be nice if it could be added:

Run swift-actions/setup-swift@v2
Error: Unexpected error, unable to continue. Please report at https://github.com/swift-actions/setup-swift/issues
Version "6.0" is not available
Stacktrace:
Error: Version "6.0" is not available
    at Object.verify (/Users/runner/work/_actions/swift-actions/setup-swift/v2/dist/index.js:572:15)
    at run (/Users/runner/work/_actions/swift-actions/setup-swift/v2/dist/index.js:329:32)

fwcd avatar Sep 17 '24 20:09 fwcd

@fwal Please fix this, https://www.serversideswift.info is coming in just a couple of days, we need it :)

mman avatar Sep 23 '24 17:09 mman

Hello, any aproximate estimation on when will swift 6 be available ?

master-bytes-krafter avatar Oct 11 '24 11:10 master-bytes-krafter

Meow? This has been out for a while and would be really helpful to have. Please respond!

briannadoubt avatar Oct 12 '24 01:10 briannadoubt

Fwiw, my workaround is to run the workflow in a swift:6 container, but since that's not always feasible, it would be really nice to have this action updated too.

fwcd avatar Oct 12 '24 01:10 fwcd

Saw a PR up for this and a comment on there for a workaround - setting the macOS version to macOS-15. I've done this, and it works okay in the meantime.

briannadoubt avatar Oct 12 '24 01:10 briannadoubt

Would love this too 🙏

eonist avatar Nov 19 '24 04:11 eonist

Would need this too: https://github.com/the-flx/FlxSwift/actions/runs/12533956068/job/34954237053#step:2:5.

jcs090218 avatar Dec 29 '24 08:12 jcs090218

Saw a PR up for this and a comment on there for a workaround - setting the macOS version to macOS-15. I've done this, and it works okay in the meantime.

Sadly that doesn't work for Swift on Linux, which is likely the primary use-case for this action, give the macOS runners have Swift available anyway.

danpalmer avatar Dec 30 '24 09:12 danpalmer

Are any maintainers reading this? Would it be possible to get an ETA on this? Or should we fork/workaround/etc?

sjml avatar Dec 30 '24 10:12 sjml

I've not seen anything from owners since July, pinged the original dev on Mastodon to see if they're still interested in maintaining this or possibly open it up to some other regular contributors.

danpalmer avatar Dec 30 '24 12:12 danpalmer

It's literally is pinning the entire world to swift 5.9 😅 Apple is wondering why no one is using swift 6.0 😂

eonist avatar Dec 30 '24 13:12 eonist

Fixed in #684 and deployed in version 2.2.0

fwal avatar Jan 14 '25 06:01 fwal