Build Example App Preview #11
This file contains 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: Build Example App Preview | |
on: | |
workflow_dispatch: | |
inputs: | |
platform: | |
description: Platform | |
type: choice | |
required: true | |
default: all | |
options: | |
- all | |
- android | |
- ios | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 🏗 Setup node | |
uses: ./.github/actions/setup-node | |
- name: 🏗 Setup expo | |
uses: expo/expo-github-action@v7 | |
with: | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: 🗂️ Install dependencies | |
working-directory: example | |
run: pnpm install | |
- name: 🔨 EAS build | |
working-directory: example | |
run: eas build --non-interactive --no-wait --platform=${{ github.event.inputs.platform }} --profile=preview |