26
26
flutter pub run build_runner build
27
27
- name : Enable windows build
28
28
run : flutter config --enable-windows-desktop
29
- - name : Build artifacts
29
+ - name : Build windows
30
30
run : flutter build windows --release
31
31
- name : Archive Release
32
32
uses : thedoctor0/zip-release@master
@@ -98,21 +98,19 @@ jobs:
98
98
- uses : actions/setup-node@v4
99
99
with :
100
100
node-version : 20
101
- - name : generate release notes
101
+ - name : Generate release notes
102
102
run : node script/draft-release-notes.js > release-notes.txt
103
103
env :
104
104
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105
105
106
- # - name: build apk(archs)
107
- # run: |
108
- # bash script/fetch_git_info.sh
109
- # flutter pub get
110
- # flutter pub run build_runner build
111
- # flutter pub deps
112
- # flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
113
-
114
- - name : build all arch
115
- run : flutter build apk --release
106
+ - name : Build android apk(muitple archs)
107
+ run : |
108
+ bash script/fetch_git_info.sh
109
+ flutter pub get
110
+ flutter pub run build_runner build
111
+ flutter pub deps
112
+ flutter build apk --release
113
+ # flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
116
114
117
115
# 我的iOS都升到18.0了, 还搞鸡毛啊
118
116
# - run: |
@@ -123,8 +121,9 @@ jobs:
123
121
# ln -s ../Runner.app
124
122
# cd ..
125
123
# zip -r app.ipa Payload
124
+ # output is build/ios/iphoneos/app.ipa
126
125
127
- - name : build macos
126
+ - name : Build macos
128
127
run : |
129
128
flutter config --enable-macos-desktop
130
129
flutter build macos --release
@@ -139,7 +138,6 @@ jobs:
139
138
with :
140
139
name : windows
141
140
142
- # build/ios/iphoneos/app.ipa
143
141
- uses : softprops/action-gh-release@v2
144
142
with :
145
143
body_path : release-notes.txt
0 commit comments