Skip to content

Merge pull request #111 from WalletConnect/feat/expo-update #1

Merge pull request #111 from WalletConnect/feat/expo-update

Merge pull request #111 from WalletConnect/feat/expo-update #1

Workflow file for this run

name: expo-update
on:
push:
branches:
- V1
jobs:
update:
name: EAS Update
runs-on: ubuntu-latest
steps:
- name: Check for EXPO_TOKEN
run: |
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then
echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions"
exit 1
fi
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Create .env file in native app
run: |
cd apps/native && echo "EXPO_PUBLIC_PROJECT_ID=$EXPO_PUBLIC_PROJECT_ID" >> .env
shell: bash
env:
EXPO_PUBLIC_PROJECT_ID: ${{ secrets.CLOUD_PROJECT_ID }}
- name: Publish update
run: cd apps/native && eas update --branch staging --auto --non-interactive