Files
flexlark-template/.gitea/workflows/expo-build-apk.yaml
eeymoo c724705a43
Some checks failed
Expo Local Build APK / build-apk (push) Failing after 18m34s
chore: 修正上传 APK 的动作引用地址
2025-08-13 17:40:33 +08:00

36 lines
803 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://github.com/actions/checkout@v3
- name: Setup Node.js
uses: 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://github.com/actions/upload-artifact@v3
with:
name: app-apk
path: dist/app.apk