expo-github-action
expo-github-action copied to clipboard
New subactions to implement
Topic and scope of discussion
Now that we support multiple entry points, and thus "subactions", we can add multiple different actions. This should be a working draft of those subactions, and what they should do.
Required
name | description |
---|---|
setup |
The original main action, taking care of Expo/EAS CLI as well as authentication |
expo-build |
Create a new build using the classic build system |
expo-publish |
Create a new bundle to load in Expo Go |
eas-build |
Create a new build using EAS |
qr-code |
Create an Expo QR code and comment on a PR or commit, should support reference to build/publish actions or by with -inputs |
Optional
name | description |
---|---|
expo-setup |
A simpler version of the main setup , but for Expo only |
eas-setup |
A simpler version of the main setup , but for EAS only |
Motivation
Makes using Expo in GH actions even easier.
Instead of rebuilding each individual command as action, it might be better to create "composite sub-actions". Instead of forcing users to combine a set of commands, we can pre-define them for a general action. E.g.
- "update", which would publish an OTA and puts an optional QR code somewhere. Should also auto-detect what type of project the user is running.
- "build", which would detect whatever needs to be done to get a development build up and running
- "release", which would do the same as build, but for production/release and optionally submits it.