Skip to content

Setup Swift environment

Actions
Setup a Swift environment and optionally downloading and adding it to the PATH
v2.2.0
Latest
Star (5)

actions-setup-swift

Unit Tests Tests

This action sets up a swift environment for use in actions by:

  • optionally downloading a version of swift from swift.org using swiftenv.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@v3
- uses: sinoru/actions-setup-swift@v2
  with:
    swift-version: '5.6.1' # Exact version of a Swift version to use
- run: swift build
- run: swift test

License

The scripts and documentation in this project are released under the MIT License

Setup Swift environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup a Swift environment and optionally downloading and adding it to the PATH
v2.2.0
Latest

Setup Swift environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.