39 lines
909 B
YAML
39 lines
909 B
YAML
on:
|
||
push:
|
||
branches:
|
||
- master
|
||
jobs:
|
||
update:
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: 🏗 Setup repo
|
||
uses: actions/checkout@v3
|
||
|
||
- name: 🏗 Setup Node
|
||
uses: actions/setup-node@v3
|
||
with:
|
||
node-version: 18.x
|
||
cache: pnpm
|
||
|
||
- name: 🏗 Setup pnpm
|
||
uses: pnpm/action-setup@v2
|
||
with:
|
||
version: latest
|
||
|
||
- name: 🏗 Setup EAS
|
||
uses: expo/expo-github-action@v8
|
||
with:
|
||
eas-version: latest
|
||
token: ${{ secrets.EXPO_TOKEN }}
|
||
|
||
- name: 📦 Install dependencies
|
||
run: pnpm install
|
||
|
||
- name: <EFBFBD> Install expo-updates
|
||
run: pnpm add -w expo-updates
|
||
|
||
- name: <EFBFBD>🚀 Create update
|
||
run: eas update --platform android --auto --non-interactive
|
||
|
||
- name: 🏗 Build Android APK
|
||
run: eas build --platform android --auto --non-interactive |