fix : display org login error with toast (#75) #13
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
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 | |
- 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 }} | |
# 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 }} |