测试打包
编译项目 / 编译 (push) Failing after 43s Details

This commit is contained in:
qxa 2024-04-11 17:27:23 +08:00
parent aa920d41fa
commit b320e93f02
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
name: 编译项目
on:
push:
branches:
- t
paths-ignore:
- "**/*.md"
- "**/*.txt"
- "**/*.png"
- "**/*.jpg"
jobs:
job1:
name: 编译
runs-on: linux
steps:
- name: 下载源码
uses: actions/checkout@v3
- name: 安装java
uses: actions/setup-java@v2
with:
distribution: "zulu"
java-version: 11
- name: 安装flutter
uses: actions/setup-flutter@v2
with:
flutter-version: "3.0.1"
- name: 打包flutter
run: |
cd marking_app
flutter pub get
flutter build apk --release --target-platform=android-arm64 --no-tree-shake-icons