k-paxian / dart-package-publisher

Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
MIT License
66 stars 10 forks source link

Warning: Unexpected input(s) 'flutter' #20

Closed AlexV525 closed 2 years ago

AlexV525 commented 2 years ago

https://github.com/fluttercandies/flutter_wechat_assets_picker/runs/6382156800?check_suite_focus=true

When we use flutter in the action, jobs will report flutter as an unexpected input.

Warning: Unexpected input(s) 'flutter', valid inputs are ['entryPoint', 'args', 'accessToken', 'refreshToken', 'credentialJson', 'relativePath', 'dryRunOnly', 'skipTests', 'suppressBuildRunner', 'format']
k-paxian commented 2 years ago

That's because flutter flag is now removed and auto detected. You don't need to specify it explicitly

AlexV525 commented 2 years ago

I don't think it's true.

Before we have the test failed without the flutter defined: https://github.com/AstroxNetwork/agent_dart/runs/6319818869?check_suite_focus=true

The action defined as: https://github.com/AstroxNetwork/agent_dart/blob/fca3d53a376559741fe09aae4ff833d0ac4cde92/.github/workflows/publish.yml

k-paxian commented 2 years ago

The real issue here is No package found. :( It's not possible to find pubspec.yaml it has no relation to flutter flag issue

k-paxian commented 2 years ago

this issue relates to https://github.com/k-paxian/dart-package-publisher/issues/19