fix: small widget on ios 16 #39
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 and Submit to App Store via EAS local | |
on: | |
push: | |
branches: | |
- "dev" | |
- "prod" | |
concurrency: | |
group: ${{ github.ref }}-ci # Unique group per branch (dev-ci, prod-ci, etc.) | |
cancel-in-progress: true # This cancels previous workflow if a new one starts | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Create .env file | |
run: | | |
touch .env | |
echo EXPO_PUBLIC_SENTRY_DSN=${{ secrets.SENTRY_DSN }} >> .env | |
- name: Setup Expo and EAS | |
uses: expo/expo-github-action@v7 | |
with: | |
token: ${{ secrets.EXPO_TOKEN }} | |
expo-version: latest # installs expo | |
eas-version: latest # installs eas | |
- name: Install dependencies | |
run: yarn | |
- name: Build iOS | |
run: | | |
eas build --local \ | |
--non-interactive \ | |
--output=./app.ipa \ | |
--platform=ios \ | |
--profile=production | |
- name: Submit to App Store | |
run: eas submit --no-wait --platform=ios --profile=production --path ./app.ipa |