Skip to content

Commit

Permalink
update pubspec.yaml & publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xinthink committed Apr 18, 2020
1 parent 8237b39 commit 9efa13c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 48 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
run: |
cd example && flutter analyze && cd ..
flutter test
ls $FLUTTER_HOME/bin/cache/dart-sdk
- name: notification
if: cancelled() == false
uses: xinthink/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v1
- name: Format
run: |
$FLUTTER_HOME/bin/cache/dart-sdk/bin/dartfmt -l 80 -w .
- name: Publish
run: |
flutter pub get
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.0-dev"
version: "0.1.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down
48 changes: 2 additions & 46 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flt_worker
description: The flt_worker plugin allows you to schedule and execute Dart background tasks in a dedicated isolate, by utilizing the WorkManager API on Android, and the BackgroundTasks API on iOS 13, respectively.
version: 0.1.0-dev
description: The flt_worker plugin allows you to schedule and execute Dart background tasks, based on the WorkManager and the BackgroundTasks APIs, for Android and iOS 13+ respectively.
version: 0.1.0
homepage: https://github.com/xinthink/flt_worker/
repository: https://github.com/xinthink/flt_worker/

Expand All @@ -17,55 +17,11 @@ dev_dependencies:
sdk: flutter
pedantic: ^1.8.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:
# This section identifies this Flutter project as a plugin project.
# The 'pluginClass' and Android 'package' identifiers should not ordinarily
# be modified. They are used by the tooling to maintain consistency when
# adding or updating assets for this project.
#
# NOTE: This new plugin description format is not supported on Flutter's
# stable channel as of 1.9.1. A plugin published using this format will not
# work for most clients until the next major stable release.
# However, it is required in order to declare macOS support.
plugin:
platforms:
android:
package: dev.thinkng.flt_worker
pluginClass: FltWorkerPlugin
ios:
pluginClass: FltWorkerPlugin

# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.

# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages

0 comments on commit 9efa13c

Please sign in to comment.