nikosportolos/dart-package
This is an action to validate and publish a Dart/Flutter package to pub.dev.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working_directory | Specify the working directory. | no | . |
| sdk | Specify which SDK to use (dart, flutter). | no | dart |
| dart_sdk | Specify the Dart SDK version. | no | 3.10.8 |
| flutter_sdk | Specify the Flutter SDK version. | no | 3.41.2 |
| analyze_directories | Specify the directories to run dart analyze. | no | lib test |
| concurrency | Controls the number of test suites that runs concurrently, meaning that multiple tests in independent suites or platforms can run at the same time. | no | 4 |
| skip_tests | Flag that defines whether to skip tests. | no | false |
| coverage | Flag that defines whether to run tests with coverage. | no | false |
| codecov | Flag that defines whether to upload coverage reports to Codecov. Requires the codecov_token. | no | false |
| codecov_token | The token that will be used to upload coverage reports to Codecov. Requires the codecov flag to be set to true. | no | "" |
| publish | Flag that defines whether to publish the package on pub.dev. | no | false |
| pubdev_token | The token that will be used to publish the package to pub.dev. | no | "" |
| pana_threshold | The exit code will indicate if (max - granted points) <= threshold. | no | 19 |
Outputs
no outputs