Skip to content

Shorebird Patch

Actions
Create a new patch using the Shorebird CLI
v1.0.0
Latest
Star (6)

Shorebird Patch

ci License: MIT

Create a new patch using the Shorebird CLI for use in GitHub Actions.

Features

✅ Create new releases for iOS, Android, macOS, Linux, and Windows

✅ Outputs the patch number

Usage

steps:
  - uses: shorebirdtech/setup-shorebird@v1
  - uses: shorebirdtech/shorebird-patch@v1
    id: shorebird-patch
    with:
      platform: android
      release-version: latest
      working-directory: ./path/to/app

  - run: echo patch-number ${{ steps.shorebird-patch.outputs.patch-number }}
    shell: bash

Inputs

The action takes the following inputs:

  • args: Any arguments to pass to shorebird patch.
    • Use an extra -- to pass arguments to Flutter (e.g. -- --dart-define=KEY=VALUE)
  • platform: Which platform to create a patch for (e.g. android or ios)
  • release-version: Which release version to patch.
    • Use latest to target the release that was most recently updated.
  • working-directory: Which directory to run shorebird patch in.

Outputs

The actions outputs the following:

  • patch-number: The number of the patch that was successfully created.

Shorebird Patch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Create a new patch using the Shorebird CLI
v1.0.0
Latest

Shorebird Patch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.