-
Notifications
You must be signed in to change notification settings - Fork 1
Run local EAS build on GitHub Actions #4
base: master
Are you sure you want to change the base?
Conversation
6d59872
to
8f67dd6
Compare
@karlhorky: Unfortunately, the local build is not working. I looked into it for a bit today but wasn't able to solve it yet. This is the error message:
-> The latest Actions run. |
Ah right, yeah I was getting this too, that's what caused me to move away from EAS altogether and just run But I did find out other incompatibilities with Detox and Expo / EAS in the meantime, one of which was this On a different note, something you may also be interested in: I also got Android Detox tests set up using Gradle upleveled/hotline-bling-codealong#26 |
Thanks for the notes! 👍 I actually worked a bit on CI today and found a nice solution for fetching the latest build URL directly via the eas cli (see workflow here). The main reason why we transitioned everything to Expo is to actually reduce the complexity of building a native app. So that's why I prefer Next steps
So to conclude, I think if you build your app with expo/eas, it should be possible to avoid setting up local build environments altogether. At least that's my goal for this repo here. |
Totally, this is why I tried getting EAS set up in the first place. But it didn't work with Android or iOS in my testing, so I abandoned it after a few hours. If you want to go forward with this, and also use it for Android, keep in mind that Android is more challenging, because Detox needs two But if you get it working, then I will definitely transition to that too!
Nice, yep, you should be able to automate this as well, just look at the md5 hashes of the current and last commit of the contents of
Nice, that looks like a good start. You could probably simplify that a bit by not writing to a file and instead using |
Supersedes #2
Hi there, thanks for this example!
I just wanted to open this PR after having looked at @byCedric's
eas-gh
example.This uses the new experimental local EAS builds, enabling fully local builds.
Caveat: this does make the build take longer.
If you would like to preserve the existing workflow, I could imagine this being added as a second example workflow.