Compare commits
8 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
30cc8ffadc | |
|
|
a69deefd30 | |
|
|
e6fa594d5c | |
|
|
1cd3b3f83d | |
|
|
a3f4606ac5 | |
|
|
5f1f173677 | |
|
|
dcc7aa87b5 | |
|
|
b320e93f02 |
|
|
@ -0,0 +1,42 @@
|
||||||
|
name: 编译项目
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- t
|
||||||
|
paths-ignore:
|
||||||
|
- "**/*.md"
|
||||||
|
- "**/*.txt"
|
||||||
|
- "**/*.png"
|
||||||
|
- "**/*.jpg"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
job1:
|
||||||
|
name: 编译
|
||||||
|
runs-on: windows
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
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:
|
||||||
|
channel: stable
|
||||||
|
flutter-version: "3.1.2"
|
||||||
|
|
||||||
|
- name: 打包flutter
|
||||||
|
run: |
|
||||||
|
cd marking_app
|
||||||
|
flutter pub get
|
||||||
|
flutter build apk --release --target-platform=android-arm64 --no-tree-shake-icons
|
||||||
Loading…
Reference in New Issue