Files
flexlark-template/.gitea/workflows/expo-build-apk.yaml
eeymoo ec1dd3fa54
Some checks failed
Expo Local Build APK / build-apk (push) Failing after 5s
chore: 更新工作流中的动作引用为新的 GitHub 地址
2025-08-13 17:01:24 +08:00

36 lines
860 B
YAML

name: Expo Local Build APK
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-apk:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: https://ghfast.top/https://github.com/actions/checkout@v3
- name: Setup Node.js
uses: https://ghfast.top/https://github.com/actions/setup-node@v4
with:
node-version: '18'
- name: Install Expo CLI & EAS CLI
run: npm install -g expo-cli eas-cli
- name: Install dependencies
run: npm ci
# 本地打包
- name: EAS Local Build APK
run: eas build -p android --local --output=dist/app.apk
# 上传产物
- name: Upload APK to Release
uses: https://ghfast.top/https://github.com/actions/upload-artifact@v3
with:
name: app-apk
path: dist/app.apk