{"repo":"compnerd/gha-setup-swift","free":true,"listed":false,"github":"https://github.com/compnerd/gha-setup-swift","clone":"git clone https://github.com/compnerd/gha-setup-swift.git","description":"Setup Swift (on Windows) on GitHub Actions Builders","language":null,"stars":38,"topics":["github-actions","windows","swift"],"license":"BSD-3-Clause","category":"workflow-automation","readme_excerpt":"gha-setup-swift Setup Swift (on Windows) on GitHub Actions Builders Automates installation of the Swift toolchain for Windows hosts on GitHub Actions runners. [!NOTE] Windows requires Swift 5.4.2+ Usage Sample workflow using official Swift releases Sample workflow using a custom Swift toolchain from a Github repository Parameters When using official Swift releases: - swift-version : ( Note: this is not a git branch name) the Swift \"version\" to be installed. This may be either a pre-release branch (e.g. swift-5.5-branch ), a release branch (e.g. swift-5.5-release ) or the development branch ( swift-development ). - swift-build : ( Note: this is not a git tag name) the actual build tag to install, minus the \" swift- \" prefix. May indicate a release snapshot (e.g. 5.5-DEVELOPMENT-SNAPSHOT-2021-09-18-a ), development snapshot (e.g. DEVELOPMENT-SNAPSHOT-2021-09-28-a ), or a release (e.g. 5.5-RELEASE ). When using Swift builds from a Github repository release: - github-repo : Github repo in \"owner/repo\" format - release-tag-name : Release tag name, can be found in github.com/ / /releases - release-asset-name : Asset name for the Swift installer executable in the release - github-token : Optional Github token for fetching a release from a private repository Additional Options: - update-sdk-modules : Update SDK module definitions to latest version after installation (Windows only, default: false) - installer-args : Additional arguments to pass to the installer, space-delimited Deprec","default_branch":null,"files":null,"tree":[],"storefront":"/r/compnerd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/compnerd/gha-setup-swift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}