Skip to content

shorebirdtech/shorebird-patch

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorebird Patch

ci License: MIT

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

Features

✅ Create new Android patches

✅ Create new iOS patches

✅ Outputs the patch number

Usage

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

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)
  • 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.

About

Create a new patch using the Shorebird CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published