Skip to content

Commit 1234b4b

Browse files
committed
chore: configure ios
1 parent ec696ab commit 1234b4b

18 files changed

Lines changed: 47 additions & 63 deletions

.github/workflows/build.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,39 @@ jobs:
174174
name: android-aab
175175
path: touchfish-android.aab
176176

177+
build-ios:
178+
runs-on: macos-latest
179+
steps:
180+
- uses: actions/checkout@v4
181+
182+
- name: Setup Flutter
183+
uses: subosito/flutter-action@v2
184+
with:
185+
flutter-version: '3.38.7'
186+
channel: 'stable'
187+
188+
- name: Install dependencies
189+
run: flutter pub get
190+
191+
- name: Generate licenses file
192+
run: dart run dart_pubspec_licenses:generate
193+
194+
- name: Build iOS (debug, no codesign)
195+
run: flutter build ios --debug --no-codesign
196+
197+
- name: Create IPA
198+
run: |
199+
cd build/ios/iphoneos
200+
mkdir -p Payload
201+
cp -r Runner.app Payload/
202+
zip -r ../../../touchfish-ios.ipa Payload
203+
204+
- name: Upload iOS IPA artifact
205+
uses: actions/upload-artifact@v4
206+
with:
207+
name: ios-ipa
208+
path: touchfish-ios.ipa
209+
177210
build-web:
178211
runs-on: ubuntu-latest
179212
steps:
@@ -208,7 +241,7 @@ jobs:
208241
path: touchfish-web.zip
209242

210243
release:
211-
needs: [build-windows, build-macos, build-linux, build-android, build-web]
244+
needs: [build-windows, build-macos, build-linux, build-android, build-ios, build-web]
212245
runs-on: ubuntu-latest
213246
if: always()
214247
permissions:

.github/workflows/ios_gen.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.
104 KB
Loading
225 Bytes
Loading
641 Bytes
Loading
1.29 KB
Loading
467 Bytes
Loading
1.24 KB
Loading
1.83 KB
Loading
775 Bytes
Loading

0 commit comments

Comments
 (0)