leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
891 stars 123 forks source link

Example Github workflows file #215

Open arran4 opened 3 months ago

arran4 commented 3 months ago

Is there any example of the best "supported" github workflow file for building and releasing this?

M97Chahboun commented 2 months ago

you can use terminal from GitHub workflow

arran4 commented 2 months ago

This is what I've come up with: https://github.com/arran4/send_to_linkwarden/blob/main/.github/workflows/release.yaml

However it only does an Android release and not any of the others.

M97Chahboun commented 2 months ago

That's good you can also follow this issue I will working on it for have template support all platforms https://github.com/bixat/flutter_ci_cd/issues/125

arran4 commented 2 months ago

I kind of want to adapt the file to make it more responsive, so I can use the same file in multiple applications. Such as ones which don't have an android target for instance without modification, I guess once it's at a certain point it's suitable for conversion into a github action along the lines of the goreleaser one https://github.com/goreleaser/goreleaser-action

kjxbyz commented 2 months ago

This is a project of mine, developed using flutter, using GitHub Actions as a continuous integration and continuous delivery system, and includes almost all commonly used build formats.

Reference: https://github.com/picguard/picguard/blob/main/.github/workflows/release.yml