Skip to content

Simple one-step access to the Swiftly toolchain manager from GitHub Actions workflows

License

Notifications You must be signed in to change notification settings

vapor/swiftly-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swiftly-action

A GitHub Action for installing the Swiftly toolchain manager for Swift.

Usage

To use Swiftly in your workflow, specify the repository followed by a tag as with any action:

steps:
  - uses: actions/checkout@v4
  - uses: vapor/swiftly-action@v0.1
    with:
      toolchain: latest # optional

On completion, swiftly's executable will be present in PATH, and the SWIFTLY_HOME_DIR and SWIFTLY_BIN_DIR environment variables will be available to all following steps.

Arguments

At this time, the only argument supported is toolchain, which specifies a Swift toolchain name for Swiftly to install along with Swiftly itself. If the argument is omitted, only Swiftly itself is installed.

Contributing

Contributions are welcome! Check out Vapor's Contribution Guide.

License

All code in this repository is released under the MIT License.

About

Simple one-step access to the Swiftly toolchain manager from GitHub Actions workflows

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks