generated from flexlark/flexlark-template
Initial commit
This commit is contained in:
39
.gitea/workflows/expo-build-apk.yaml
Normal file
39
.gitea/workflows/expo-build-apk.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
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
|
||||
Reference in New Issue
Block a user