Skip to content

AlexV525/actions-flutter-pub-publisher

 
 

Repository files navigation

actions-flutter-pub-publisher

This action publishing the Flutter plugin.

Inputs

credential

Required Google Account credential.

You can find the credentials.json within .pub-cache in the User's home directory. You can use open ~/.pub-cache.

flutter_package

Optional Publish packages type. Default: true

skip_test

Optional Skip test. Default: false

package_directory

Optional Package directory. Default: "."

dry_run

Optional Dry run, no publish. Default: false

Example usage

name: Publish plugin

on:
  release:
    types: [published]

jobs:
  publish:

    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Publish
        uses: sakebook/actions-flutter-pub-publisher@v1.3.1
        with:
          credential: ${{ secrets.CREDENTIAL_JSON }}
          flutter_package: false
          skip_test: true
          dry_run: true

Packages

No packages published

Languages

  • Shell 50.6%
  • Dart 42.1%
  • Dockerfile 7.3%