https://github.com/vapor/swiftly-action
Simple one-step access to the Swiftly toolchain manager from GitHub Actions workflows
https://github.com/vapor/swiftly-action
github-actions swift swift-server swiftly
Last synced: 4 months ago
JSON representation
Simple one-step access to the Swiftly toolchain manager from GitHub Actions workflows
- Host: GitHub
- URL: https://github.com/vapor/swiftly-action
- Owner: vapor
- License: mit
- Created: 2023-09-20T18:14:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T12:41:43.000Z (about 1 year ago)
- Last Synced: 2025-10-24T06:39:54.871Z (8 months ago)
- Topics: github-actions, swift, swift-server, swiftly
- Homepage:
- Size: 31.3 KB
- Stars: 34
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# swiftly-action
A GitHub Action for installing the [Swiftly toolchain manager for Swift](https://www.swift.org/swiftly).
## Usage
To use Swiftly in your workflow, specify the repository followed by a tag as with any action:
```yaml
steps:
- uses: actions/checkout@v4
- uses: vapor/swiftly-action@v0.2
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](https://github.com/vapor/.github/blob/main/CONTRIBUTING.md).
## License
All code in this repository is released under the [MIT License](https://github.com/vapor/swiftly-action/blob/main/LICENSE).