tauri-action icon indicating copy to clipboard operation
tauri-action copied to clipboard

[Feature Request] Add mobile build support

Open developomp opened this issue 2 years ago • 10 comments

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

developomp avatar Jul 17 '23 06:07 developomp

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.

FabianLars avatar Jul 17 '23 09:07 FabianLars

I also like this feature. Looking forward to beta/stable of tauri 2.0.

liudonghua123 avatar Sep 13 '23 01:09 liudonghua123

Is building mobile apps using the tauri-action workflow implemented now in the beta version?

jbeuria avatar Mar 12 '24 06:03 jbeuria

If that were the case, this issue would be closed.

FabianLars avatar Mar 12 '24 06:03 FabianLars