Create a new patch using the Shorebird CLI for use in GitHub Actions.
✅ Create new Android patches
✅ Create new iOS patches
✅ Outputs the patch number
steps:
- uses: shorebirdtech/setup-shorebird@v0
- uses: shorebirdtech/shorebird-patch@v0
id: shorebird-patch
with:
platform: android
working-directory: ./path/to/app
- run: echo patch-number ${{ steps.shorebird-patch.outputs.patch-number }}
shell: bash
The action takes the following inputs:
args
: Any arguments to pass toshorebird patch
.- Use an extra
--
to pass arguments to Flutter (e.g.-- --dart-define=KEY=VALUE
)
- Use an extra
platform
: Which platform to create a patch for (e.g.android
orios
)working-directory
: Which directory to runshorebird patch
in.
The actions outputs the following:
patch-number
: The number of the patch that was successfully created.