File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,14 @@ jobs:
7070
7171 - run : flutter pub get
7272 - run : flutter build macos
73+
74+ - name : Post handling
75+ run : hdiutil create -volname arabic_learning -srcfolder build/macos/Build/Products/Release/arabic_learning.app -ov -format UDZO arabic_learning.dmg
7376
7477 - uses : actions/upload-artifact@v4
7578 with :
7679 name : macos-build
77- path : build/macos/Build/Products/Release/ arabic_learning.app
80+ path : arabic_learning.dmg
7881
7982 build-ios :
8083 name : Build iOS App (no sign)
@@ -90,11 +93,16 @@ jobs:
9093
9194 - run : flutter pub get
9295 - run : flutter build ios --no-codesign
96+
97+ - name : Post handling
98+ run : |
99+ zip -r ios.zip build/ios/iphoneos
100+ mv ios.zip ios.ipa
93101
94102 - uses : actions/upload-artifact@v4
95103 with :
96104 name : ios-build
97- path : build/ ios/iphoneos
105+ path : ios.ipa
98106 build-web :
99107 name : Build Flutter Web
100108 runs-on : ubuntu-latest
@@ -164,17 +172,15 @@ jobs:
164172 zip -r windows.zip windows/
165173 zip -r macos.zip macos/
166174 zip -r ios.zip ios/
167- mv ios.zip ios.ipa
168- mv macos.zip macos.app
169175
170176 - name : Create GitHub Release
171177 uses : softprops/action-gh-release@v2
172178 with :
173179 files : |
174180 app-release.apk
175181 windows.zip
176- ios.ipa
177- macos.app
182+ ios.zip
183+ macos.zip
178184 env :
179185 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
180186
@@ -188,5 +194,5 @@ jobs:
188194 - name : Remove old artifacts
189195 uses : c-hive/gha-remove-artifacts@v1
190196 with :
191- age : ' 3 days '
197+ age : ' 1 day '
192198 skip-recent : 5
You can’t perform that action at this time.
0 commit comments