I am excited to share version 1.13 of setup-swift GitHub action release. It has been more than two years since my last post on this forum while the action has gotten lot more features since then. The action now supports all the GitHub runner variants (Ubuntu, macOS, Windows both x86 and arm64).
Now you can setup SDKs in one-shot in much user-friendly way:
Still it seems there are multiple âsetup Swift toolchain on GitHub Actionsâ actions out there. I would love to have one default one that just works - maybe even backed by the Swift Language organization.
But until that time, Iâll use whichever one works reliably and stays reasonably up-to-date.
No @marcprux, I had developed this action for my personal usage 2-3 years back due to facing similar issues like the one you have linked, e.g. new swift versions are available at a much later point, Linux and Windows setup issues.
I maintain the action regularly, although there isnât much effort needed from my side. The action picks the toolchain metadata published from the official swift-org-website. Most often my efforts are required for introducing new platform support (e.g. supporting ARM runners, SDK installation support etc.), when there is a breaking change on the metadata published or breaking change in setup process of any supported platforms (mostly Windows I have faced and I keep the action up-to-date with @compnerdâs GitHub action Windows implementation). I mention the basic workings of this action in wiki.
Still it seems there are multiple âsetup Swift toolchain on GitHub Actionsâ actions out there. I would love to have one default one that just works - maybe even backed by the Swift Language organization.
Yeah @maartene, I wanted this 2-3 years back, but since there doesnât seem to be official well maintained action that just works I built this one.