gtk-flutter / libadwaita

Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.
https://pub.dev/packages/libadwaita
Mozilla Public License 2.0
249 stars 19 forks source link

Add CI github action #40

Closed MalcolmMielle closed 2 years ago

MalcolmMielle commented 2 years ago

This PR adds a GitHub action to run flutter analyze on push and PR to main for validation. There is no test in the package yet, so the CI doesn't run any test ;).

I have added a similar CI in adwaita and also another action called main.yml to automatically publish the package to pub.dev anytime a new release is published. Let me know if you'd like to set up something similar here,

prateekmedia commented 2 years ago

Please create the release ci too, Also where would I find my secret credential json?

MalcolmMielle commented 2 years ago

The location of the pub-credential depends on your OS. If it's not there, it is in pub-cache, and you should flutter pub logout and flutter pub login again to have it at the right place. Copy it as JSON_CREDENTION secret in the repo.

That say the release action didn't work for me on adwaita yesterday, so I'll be curious to know if it works here :).

MalcolmMielle commented 2 years ago

Release CI added.