forecaswatch2
forecaswatch2 copied to clipboard
Github Actions CI
Thanks @daktak for creating/sharing this, this is awesome!
It failed for me initially on apt-get, easy fix see https://github.com/clach04/pebble-forecaswatch2-fcsw2-fcw2/commit/2c0568712f1793d6994e5c0a34ae4e3223517258
Using this + https://github.com/mattrossman/forecaswatch2/pull/55 I was able to get a new build setup via my phone to get a freshly built one 🎉
I've posted a tweaked, yaml only (no makefile) GitHub Action to https://github.com/clach04/pebble_watchface_framework - thanks again @daktak for this, this really is a game changer :-)
Originally I was ignoring this because I already had Travis CI set up for automatic builds. However, seems like the Travis setup isn't working anymore so I may look into the GH Actions route.
Could you describe the usage of your action? (e.g. do you have an example output that shows where the .pbw ends up). With the Travis pipeline, I had it configured to attach the .pbw into a new draft release each time that I pushed a new "tag" commit. That way I could just type a changelog and click publish. Could something similar be configured here?
@mattrossman take a look at https://github.com/clach04/pebble_watchface_framework/actions (direct link to Actions tab).
Clicking on each build will show give you access to links to the output and the (zip of the) PBW build asset. NOTE do this on desktop, I can't access binaries from mobile browser (have to set it to desktop mode).
NOTE that link is a different file(s) than this PR from @daktak - I would not have worked on this with out his initial starting point.
I did some preliminary research into GitHub Actions and releases, there are a number of scripts that can achieve this but I've not tried any yet.
@daktak and @mattrossman the PR won't work as of today (well a few months back).... but I have a working action you can take a look at :-):
- https://github.com/clach04/pebble_watchface_framework - works
- https://github.com/clach04/github_action_pebble_build - template, only useful as copy/paste (and edit) into your project (if you have idea on how to fix, please let me know).
Again, thanks @daktak for coming up with the original action yaml file. And as always thanks @mattrossman for this watchface, when the rainy season hits or I travel this tends to become my daily driver :-)