Skip to content

fix: project slug issue #14

fix: project slug issue

fix: project slug issue #14

Workflow file for this run

on:
push:
branches:
- publish
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: πŸ— Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: |
npm install
npx expo install --fix
# This step will be deprecated and removed in the future once the google play account is created.
- name: πŸš€ Build Android App
run: eas build --platform android --profile $PROFILE --non-interactive
env:
PROFILE: ${{ vars.BUILD_PROFILE }}
EXPO_PUBLIC_APOLLO_CLIENT_URI: ${{ vars.EXPO_PUBLIC_APOLLO_CLIENT_URI }}
- name: πŸš€ Build & Submit ios App
run: |
rm .easignore
cp .gitignore .easignore
echo '\npackage-lock.json' >> .easignore
eas build --platform ios --profile $PROFILE --auto-submit --non-interactive
rm .easignore
env:
PROFILE: ${{ vars.BUILD_PROFILE }}
EXPO_PUBLIC_APOLLO_CLIENT_URI: ${{ vars.EXPO_PUBLIC_APOLLO_CLIENT_URI }}