Skip to content
play

GitHub Action

Setup Swift Language

v1.1.0 Latest version

Setup Swift Language

play

Setup Swift Language

Set up a specific version of Swift

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Swift Language

uses: m-takuma/[email protected]

Learn more about this action in m-takuma/setup-swift

Choose a version

setup-swift

Basic usage

steps:
  - name: Checkout
    uses: actions/checkout@v4
  - name: Setup Swift
    uses: m-takuma/setup-swift@1

Usage (Specific Version)

steps:
  - name: Checkout
    uses: actions/checkout@v4
  - name: Setup Swift
    uses: m-takuma/setup-swift@1
    with:
      swift-version: "5.10.1"