Add app ascAppId #12
Workflow file for this run
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: Build and Deploy iOS | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' # Triggers on version tags like v1.0.0, v1.0.1, etc. | |
| workflow_dispatch: # Manual trigger | |
| jobs: | |
| build-ios-dev: | |
| name: Build and Submit iOS to TestFlight | |
| runs-on: ubuntu-latest | |
| environment: develop | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Setup EAS CLI | |
| run: npm install -g eas-cli | |
| - name: Build iOS (App Store Distribution) | |
| run: eas build --platform ios --profile production --non-interactive | |
| env: | |
| EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} | |
| - name: Submit to TestFlight | |
| run: eas submit --platform ios --latest --non-interactive | |
| env: | |
| EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} |