Agents Mobile Build (manual) #91
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Agents Mobile Build (manual) | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| profile: | |
| description: EAS build profile (canary-store submits to the Play internal track) | |
| type: choice | |
| options: | |
| - canary | |
| - canary-store | |
| - preview | |
| default: canary | |
| git_ref: | |
| description: Git ref to build (defaults to the branch you run from) | |
| required: false | |
| type: string | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ inputs.git_ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| actions: read | |
| contents: read | |
| # Declared (but unused for manual builds) so the reusable | |
| # `agents_mobile_build.yml` job, which requests these to write PR | |
| # comments in `channel == 'pr'`, can load. GitHub refuses to start a | |
| # reusable workflow whose declared permissions exceed the caller's. | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/agents_mobile_build.yml | |
| secrets: inherit | |
| with: | |
| channel: canary | |
| version: canary-${{ github.run_number }}-${{ inputs.git_ref || github.sha }} | |
| git_ref: ${{ inputs.git_ref || github.sha }} | |
| platform: android | |
| profile: ${{ inputs.profile }} | |
| # Only canary-store has a submit config and produces a store AAB. | |
| submit: ${{ inputs.profile == 'canary-store' }} |