Skip to content

Commit 15f13fe

Browse files
committed
fix CI
1 parent 209144f commit 15f13fe

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

.github/workflows/release.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
flutter pub run build_runner build
2727
- name: Enable windows build
2828
run: flutter config --enable-windows-desktop
29-
- name: Build artifacts
29+
- name: Build windows
3030
run: flutter build windows --release
3131
- name: Archive Release
3232
uses: thedoctor0/zip-release@master
@@ -98,21 +98,19 @@ jobs:
9898
- uses: actions/setup-node@v4
9999
with:
100100
node-version: 20
101-
- name: generate release notes
101+
- name: Generate release notes
102102
run: node script/draft-release-notes.js > release-notes.txt
103103
env:
104104
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105105

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
116114

117115
# 我的iOS都升到18.0了, 还搞鸡毛啊
118116
# - run: |
@@ -123,8 +121,9 @@ jobs:
123121
# ln -s ../Runner.app
124122
# cd ..
125123
# zip -r app.ipa Payload
124+
# output is build/ios/iphoneos/app.ipa
126125

127-
- name: build macos
126+
- name: Build macos
128127
run: |
129128
flutter config --enable-macos-desktop
130129
flutter build macos --release
@@ -139,7 +138,6 @@ jobs:
139138
with:
140139
name: windows
141140

142-
# build/ios/iphoneos/app.ipa
143141
- uses: softprops/action-gh-release@v2
144142
with:
145143
body_path: release-notes.txt

0 commit comments

Comments
 (0)