actions-marketplace-validations/Install Swift on Linux
Installs a Swift toolchain on Linux
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| release-version | The (released) Swift version (e.g. 5.3.2) to install. If given, `branch-name` and `version-tag` are ignored. If `github-token` is also set, the action will automatically resolve it to the latest matching version (e.g. 5.3.3 for 5.3). | no | — |
| branch-name | The branch of the Swift version to install (e.g. swift-5.2.1-release). Required if `release-version` is not set! | no | — |
| version-tag | The version tag of the Swift version to install (e.g. swift-5.2.1-RELEASE). Required if `release-version` is not set! | no | — |
| platform | The platform for which to install the Swift version (e.g. ubuntu18.04). Note that the github-actions notations with a dash (e.g. ubuntu-20.04) is also valid. | no | — |
| skip-apt | Whether or not the installation of dependencies (via apt) should be skipped. | no | false |
| github-token | Only required if `release-version` should automatically resolve to the newest matching version. Can be set to `secrets.GITHUB_TOKEN`. | no | — |
Outputs
| name | description |
|---|---|
| install-path | The path where Swift was installed. |
| full-version | The full version that was installed (e.g. swift-5.4.2-RELEASE). |