How vapor/swiftly-action works
Project type and purpose
• This is an open-source GitHub Action whose sole responsibility is to install the Swiftly toolchain manager (and optionally a Swift toolchain) into a GitHub Actions runner environment.
• Key indicators:
• Top-level file action.yml (defines the Action)
• README describes usage as a GitHub Action, no “src” or “frontend/backend” folders
File structure
• .github/workflows: CI for tests
• action.yml: the Action’s definition (inputs, outputs, execution steps)
• No compiled binaries or source directories here—this is a composite Action (a tiny orchestration layer)
README for additional insights
• The Action takes one input (“toolchain”)
• On run, it installs Swiftly (and possibly a Swift toolchain)
• It sets two environment variables (SWIFTLY_HOME_DIR, SWIFTLY_BIN_DIR) and ensures the swiftly executable is on PATH