mxcl/get-swift-version

Sets various outputs for the active Swift version. Optionally provides a `requires` input for enforcing the active version semantically.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
requiresFails if the active Swift does not satisfy this semantically versioned constraint.
namedescription
versionThe semantic version of the active Swift version.
major-versionEg. Outputs `5` for Swift 5.4.1
minor-versionEg. Outputs `4` for Swift 5.4.1
patch-versionEg. Outputs `1` for Swift 5.4.1
marketing-versionEg. Outputs `5.4` for Swift 5.4.1