Installs and sets up Shorebird for use in GitHub Actions.
✅ Downloads the Shorebird CLI
✅ Adds shorebird to the system path
✅ Configures the specified version of Flutter
✅ Optionally cache the Shorebird installation
cache: Cache the Shorebird installation and artifacts. Default: falseshorebird-version: Not recommended. Pins the Shorebird CLI release to install (the versionshorebird --versionprints, e.g.1.6.125; this is not a Flutter version). Defaults to the latest stable release.- Pinning is likely to break over time: Shorebird's servers require newer CLI versions as they evolve, so an old pinned version will eventually be rejected. It exists for those who need it.
- To build with a specific Flutter version, pass
--flutter-versiontoshorebird releaseinstead. That is supported and doesn't require pinning the CLI.
steps:
- uses: shorebirdtech/setup-shorebird@v1
with:
cache: true # Optionally cache the Shorebird installation
- run: shorebird --version