Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
k-paxian authored Jan 6, 2020
1 parent 7b77254 commit afb066f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[![Build Status][ci-badge]][ci-badge-url]

Continuously Publish Dart packages only **IF** local `pubspec.yml` has **different** version than already published on [Pub.dev](http://pub.dev) site.
This Action is intended to Continuously Publish Dart packages only **IF** local `pubspec.yml` has **different** version than already published on [Pub.dev](http://pub.dev) site.

It's handy to hook it up on `push, pull_request` [events][3].
```yaml
on: [push, pull_request]
```
and forget about it. When you need to publish a package, just update the version in `pubspec.yaml`.

## Inputs

Expand Down Expand Up @@ -68,3 +74,4 @@ jobs:
[ci-badge-url]: https://github.com/k-paxian/dart-package-publisher/actions
[1]: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets
[2]: https://github.com/k-paxian/dart-json-mapper
[3]: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#example-using-a-list-of-events

0 comments on commit afb066f

Please sign in to comment.