[Feature Request] Add mobile build support
Currently, there's no way to build mobile apps using the tauri-action workflow, and since I can't find discussions of it anywhere, I would like to start one here:
tauri-action automatically build apps for specific platform based on the OS. And since mobile apps has to be compiled from desktop OS, I think adding a mobile option sounds like a decent solution.
Here's an example of how the mobile build workflow might look like:
...
jobs:
release:
strategy:
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
mobile: no
include: # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations
- os: ubuntu-latest
mobile: yes
- os: macos-latest
mobile: yes
...
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__
releaseName: 'App v__VERSION__'
mobile: ${{ matrix.mobile }} # <- HERE
releaseDraft: true
prerelease: false
Yes, this is planned though i don't know yet how far we can really get in CI but we'll see. There's currently no mobile/v2 support because i'm waiting for it to be a bit more stable (at least beta) so we don't have to redo it every second week.
I also like this feature. Looking forward to beta/stable of tauri 2.0.
Is building mobile apps using the tauri-action workflow implemented now in the beta version?
If that were the case, this issue would be closed.