Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-up-circle

GitHub Action

Publish Dart/Flutter package

v1.1.0

Publish Dart/Flutter package

arrow-up-circle

Publish Dart/Flutter package

Publish Dart/Flutter package

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Publish Dart/Flutter package

uses: sakebook/[email protected]

Learn more about this action in sakebook/actions-flutter-pub-publisher

Choose a version

actions-flutter-pub-publisher

This action publishing the Flutter plugin.

Inputs

credential

Required Google Account credential.

flutter_package

Optional Publish packages type. Default: true

skip_test

Optional Skip test. 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/[email protected]
        with:
          credential: ${{ secrets.CREDENTIAL_JSON }}
          flutter_package: false
          skip_test: true